Skip to content

Commit

Permalink
the server may not send a desktop size, if that's the case then don't…
Browse files Browse the repository at this point in the history
… error out and skip the size check

git-svn-id: https://xpra.org/svn/Xpra/trunk@19374 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 23, 2018
1 parent b058b43 commit 8a6d8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/mixins/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def process_ui_capabilities(self):
self.can_scale = False
if self.can_scale:
self.may_adjust_scaling()
if not self.server_is_desktop and not skip_vfb_size_check:
if not self.server_is_desktop and not skip_vfb_size_check and server_desktop_size:
avail_w, avail_h = server_desktop_size
root_w, root_h = self.get_root_size()
if self.cx(root_w)>(avail_w+1) or self.cy(root_h)>(avail_h+1):
Expand Down

0 comments on commit 8a6d8c3

Please sign in to comment.