window layouter: fix initial window positioning

This patch fixes the positioning of windows according to configured
policies. Thanks to Alexander Senier for reporting the issue!
This commit is contained in:
Norman Feske 2017-09-05 15:55:01 +02:00 committed by Christian Helmuth
parent b446e17bcd
commit e99f2d0595
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ void Floating_window_layouter::Main::import_window_list(Xml_node window_list_xml
Session_policy const policy(label, config.xml());
if (policy.has_attribute("xpos") && policy.has_attribute("ypos"))
initial_position = point_attribute(node);
initial_position = point_attribute(policy);
win->maximized(policy.attribute_value("maximized", false));