Skip to content

Commit

Permalink
honour the initial resolution, even if resizing is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 31, 2024
1 parent e071dee commit 27ccf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/x11/desktop/desktop_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 27ccf0e

Please sign in to comment.