Skip to content

Commit

Permalink
only send a configure to the client window if we actually do want to …
Browse files Browse the repository at this point in the history
…change its dimensions

git-svn-id: https://xpra.org/svn/Xpra/trunk@5766 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 13, 2014
1 parent e4e6c42 commit 4c22863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/x11/gtk_x11/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,9 @@ def _do_update_client_geometry(self, window_size_cb, window_position_cb):
x, y = window_position_cb(w, h)
log("_do_update_client_geometry: position=%s", (x,y))
self.corral_window.move_resize(x, y, w, h)
trap.swallow_synced(X11Window.configureAndNotify, self.client_window.xid, 0, 0, w, h)
cww, cwh = self.client_window.get_geometry()[2:4]
if cww!=w or cwh!=h:
trap.swallow_synced(X11Window.configureAndNotify, self.client_window.xid, 0, 0, w, h)
self._internal_set_property("actual-size", (w, h))
self._internal_set_property("user-friendly-size", (wvis, hvis))

Expand Down

0 comments on commit 4c22863

Please sign in to comment.