From 7bf842c3737765c612a29c7c21f92cf28c2030c1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 26 Oct 2015 10:11:18 +0000 Subject: [PATCH] fixup r11022: log and ignore events on the corral window instead of events on everything else! git-svn-id: https://xpra.org/svn/Xpra/trunk@11026 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/x11/gtk2/models/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpra/x11/gtk2/models/window.py b/src/xpra/x11/gtk2/models/window.py index 83fdc20139..3c3094ba00 100644 --- a/src/xpra/x11/gtk2/models/window.py +++ b/src/xpra/x11/gtk2/models/window.py @@ -349,6 +349,7 @@ def ownership_election(self): else: winner = None old_owner = self.get_property("owner") + log("ownership_election() winner=%s, old owner=%s, candidates=%s", winner, old_owner, candidates) if old_owner is winner: return False if old_owner is not None: @@ -412,7 +413,7 @@ def do_xpra_configure_event(self, event): geomlog("WindowModel.do_xpra_configure_event(%s) corral=%#x, client=%#x, managed=%s", event, self.corral_window.xid, self.xid, self._managed) if not self._managed: return - if event.window!=self.corral_window: + if event.window==self.corral_window: #we only care about events on the client window geomlog("WindowModel.do_xpra_configure_event: event is on the corral window %#x, ignored", self.corral_window.xid) return