Skip to content

Commit

Permalink
don't bother trying to resize if the dimensions match already
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@17133 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 9, 2017
1 parent 38ed914 commit 2b9d977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/x11/desktop_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ def _process_configure_window(self, proto, packet):
if not skip_geometry:
owx, owy, oww, owh = window.get_geometry()
geomlog("_process_configure_window(%s) old window geometry: %s", packet[1:], (owx, owy, oww, owh))
self.resize(w, h)
if oww!=w or owh!=h:
self.resize(w, h)
if len(packet)>=7:
cprops = packet[6]
if cprops:
Expand Down

0 comments on commit 2b9d977

Please sign in to comment.