From 27ccf0e88d8d9dae33ca9b925007bd00596ac249 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 31 Aug 2024 22:47:00 +0700 Subject: [PATCH] honour the initial resolution, even if resizing is disabled --- xpra/x11/desktop/desktop_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/x11/desktop/desktop_server.py b/xpra/x11/desktop/desktop_server.py index 2c190c6fdf..25ddfe9a2b 100644 --- a/xpra/x11/desktop/desktop_server.py +++ b/xpra/x11/desktop/desktop_server.py @@ -41,7 +41,7 @@ def server_init(self) -> None: super().server_init() from xpra.x11.vfb_util import set_initial_resolution, get_desktop_vfb_resolutions screenlog(f"server_init() randr={self.randr}, initial-resolutions={self.initial_resolutions}") - if not self.randr or not features.display: + if not features.display: return res = self.initial_resolutions or get_desktop_vfb_resolutions(default_refresh_rate=self.refresh_rate) if len(res) > 1: