From e1caab89f1625eb90202aef9f178ea441e626e83 Mon Sep 17 00:00:00 2001 From: totaam Date: Tue, 7 Jun 2022 20:09:06 +0700 Subject: [PATCH] #56 don't bother with xinerama workaround when we have randr16 --- xpra/x11/x11_server_core.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xpra/x11/x11_server_core.py b/xpra/x11/x11_server_core.py index 347e6c29cd..a56003438a 100644 --- a/xpra/x11/x11_server_core.py +++ b/xpra/x11/x11_server_core.py @@ -705,6 +705,10 @@ def set_screen_size(self, desired_w, desired_h, bigger=True): else: screenlog("fakeXinerama can only be enabled for a single client (found %s)" % len(ui_clients)) xinerama_changed = save_fakeXinerama_config(self.fake_xinerama and len(ui_clients)==1, source, screen_sizes) + with xsync: + if RandR.is_dummy16(): + #don't bother - randr16 does it better + xinerama_changed = False #we can only keep things unchanged if xinerama was also unchanged #(many apps will only query xinerama again if they get a randr notification) if (w==root_w and h==root_h) and not xinerama_changed: