From 2b9d9775293eb9e920b1077ff74e729979a96c56 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 9 Oct 2017 15:52:29 +0000 Subject: [PATCH] don't bother trying to resize if the dimensions match already git-svn-id: https://xpra.org/svn/Xpra/trunk@17133 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/x11/desktop_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpra/x11/desktop_server.py b/src/xpra/x11/desktop_server.py index 6777c23aac..53e37d9ddf 100644 --- a/src/xpra/x11/desktop_server.py +++ b/src/xpra/x11/desktop_server.py @@ -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: