Closed totaam closed 4 months ago
At the moment, we just hardcode some sensible defaults: https://github.com/Xpra-org/xpra/blob/1a664ad351ce20c32dd2c6eb0fbdd0a5ed7309ed/xpra/x11/vfb_util.py#L70-L84 And if we're going to attach locally, we take a shortcut and set the resolution to match that of the current desktop session: acd37f36397c7bc717c76b0841a58ddf0cded2d2
But we could also use the current resolution every time a session is started from an existing desktop session, because chances are that the user will connect locally, and if not this guess is as good as any.
Done in fe1b17c0a3dd870ffd5133fbc4175ae5350c0e9e
At the moment, we just hardcode some sensible defaults: https://github.com/Xpra-org/xpra/blob/1a664ad351ce20c32dd2c6eb0fbdd0a5ed7309ed/xpra/x11/vfb_util.py#L70-L84 And if we're going to attach locally, we take a shortcut and set the resolution to match that of the current desktop session: acd37f36397c7bc717c76b0841a58ddf0cded2d2
But we could also use the current resolution every time a session is started from an existing desktop session, because chances are that the user will connect locally, and if not this guess is as good as any.