Skip to content

Commit

Permalink
#56 don't bother with xinerama workaround when we have randr16
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 7, 2022
1 parent ed44d23 commit e1caab8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xpra/x11/x11_server_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e1caab8

Please sign in to comment.