Skip to content

Commit

Permalink
#846: forward configure requests wrongly sent to the root window
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@11304 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 20, 2015
1 parent d881cca commit f8e7a44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/xpra/x11/gtk2/wm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f8e7a44

Please sign in to comment.