Skip to content

Commit

Permalink
#976: scaling fixes:
Browse files Browse the repository at this point in the history
* we cannot unmap OR windows!
* force a refresh after re-initializing all the windows

git-svn-id: https://xpra.org/svn/Xpra/trunk@11212 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 14, 2015
1 parent f9cde8f commit bb6f905
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2371,7 +2371,7 @@ def fake_send(*args):
continue
if window.is_tray():
#trays are never GL enabled, so don't bother re-creating them
#might cause problems anyway if we did anyway
#might cause problems anyway if we did
#just send a configure event in case they are moved / scaled
window.send_configure()
continue
Expand Down Expand Up @@ -2409,7 +2409,8 @@ def fake_send(*args):
self.destroy_window(wid, window)
#explicitly tell the server we have unmapped it:
#(so it will reset the video encoders, etc)
self.send("unmap-window", wid)
if not window.is_OR():
self.send("unmap-window", wid)
try:
del self._id_to_window[wid]
except:
Expand All @@ -2432,6 +2433,7 @@ def fake_send(*args):
finally:
if decoder_lock:
decoder_lock.release()
self.send_refresh_all()


def get_group_leader(self, wid, metadata, override_redirect):
Expand Down

0 comments on commit bb6f905

Please sign in to comment.