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:
parent
b446e17bcd
commit
e99f2d0595
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue