From 8a6d8c34192194acf9621662f2cce2317c7baa4c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 23 May 2018 07:36:15 +0000 Subject: [PATCH] the server may not send a desktop size, if that's the case then don't error out and skip the size check git-svn-id: https://xpra.org/svn/Xpra/trunk@19374 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/mixins/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/client/mixins/display.py b/src/xpra/client/mixins/display.py index 7bfb2a8530..c9537597ed 100644 --- a/src/xpra/client/mixins/display.py +++ b/src/xpra/client/mixins/display.py @@ -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):