From 1568d8f0eff7331d721208f216319114261e84cc Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 2 Jul 2020 05:49:40 +0000 Subject: [PATCH] remove uncooked size hints we never use git-svn-id: https://xpra.org/svn/Xpra/trunk@26858 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/gtk3/gtk3_client_window.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/xpra/client/gtk3/gtk3_client_window.py b/src/xpra/client/gtk3/gtk3_client_window.py index 25fba64458..064d7d7108 100644 --- a/src/xpra/client/gtk3/gtk3_client_window.py +++ b/src/xpra/client/gtk3/gtk3_client_window.py @@ -145,16 +145,13 @@ def get_drawing_area_geometry(self): def apply_geometry_hints(self, hints): """ we convert the hints as a dict into a gdk.Geometry + gdk.WindowHints """ wh = Gdk.WindowHints - name_to_hint = {"maximum-size" : wh.MAX_SIZE, + name_to_hint = { "max_width" : wh.MAX_SIZE, "max_height" : wh.MAX_SIZE, - "minimum-size" : wh.MIN_SIZE, "min_width" : wh.MIN_SIZE, "min_height" : wh.MIN_SIZE, - "base-size" : wh.BASE_SIZE, "base_width" : wh.BASE_SIZE, "base_height" : wh.BASE_SIZE, - "increment" : wh.RESIZE_INC, "width_inc" : wh.RESIZE_INC, "height_inc" : wh.RESIZE_INC, "min_aspect_ratio" : wh.ASPECT,