From f8e7a44d1376ef8809a11fa36f87eb1809147ca8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 20 Nov 2015 15:29:10 +0000 Subject: [PATCH] #846: forward configure requests wrongly sent to the root window git-svn-id: https://xpra.org/svn/Xpra/trunk@11304 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/x11/gtk2/wm.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xpra/x11/gtk2/wm.py b/src/xpra/x11/gtk2/wm.py index a84882b0c8..bee066f800 100644 --- a/src/xpra/x11/gtk2/wm.py +++ b/src/xpra/x11/gtk2/wm.py @@ -434,9 +434,11 @@ def do_child_configure_request_event(self, event): # accurate info on what the app is actually requesting. model = self._windows.get(event.window) if model: - log("do_child_configure_request_event(%s) value_mask=%s, should be handled by %s", event, configure_bits(event.value_mask), model) - #should we be forwarding this? - #model.do_child_configure_request_event(event) + #the window has been reparented already, + #but we're getting the configure request event on the root window + #forward it to the model + log("do_child_configure_request_event(%s) value_mask=%s, forwarding to %s", event, configure_bits(event.value_mask), model) + model.do_child_configure_request_event(event) return log("do_child_configure_request_event(%s) value_mask=%s, reconfigure on withdrawn window", event, configure_bits(event.value_mask)) with xswallow: