mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 03:17:44 +00:00
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…
x
Reference in New Issue
Block a user