Skip to content

Commit

Permalink
fixup r11022: log and ignore events on the corral window instead of e…
Browse files Browse the repository at this point in the history
…vents on everything else!

git-svn-id: https://xpra.org/svn/Xpra/trunk@11026 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 26, 2015
1 parent c1ce76b commit 7bf842c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/x11/gtk2/models/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7bf842c

Please sign in to comment.