From e99f2d0595ac70d4f75ab9a0cde0edb6b82f0783 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Tue, 5 Sep 2017 15:55:01 +0200 Subject: [PATCH] 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! --- repos/gems/src/app/floating_window_layouter/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/floating_window_layouter/main.cc b/repos/gems/src/app/floating_window_layouter/main.cc index 32801d79f6..6fd1d5163b 100644 --- a/repos/gems/src/app/floating_window_layouter/main.cc +++ b/repos/gems/src/app/floating_window_layouter/main.cc @@ -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));