]> source.dussan.org Git - tigervnc.git/commit
Improve full-screen workaround on connect
authorPierre Ossman <ossman@cendio.se>
Wed, 12 Jan 2022 16:44:20 +0000 (17:44 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 12 Jan 2022 16:44:20 +0000 (17:44 +0100)
commit3b0ad53b75178012343c33a37b94b230e4e58884
tree6458b123a695186f1cc11483bf5682df9df633a1
parenteee6638e77b1e0a0489fef5cd34eec2c5639e586
Improve full-screen workaround on connect

If we've explicitly requested a position (using -geometry) then we were
still triggering legacy full-screen request logic. This is very counter
intuitive as having a position that doesn't align with a monitor should
disqualify us for that.

It turns out that at least marco (and probably everything
metacity-derived) ends up ignoring the requested position and we go back
to triggering the legacy logic again.

Work around this by assuming that the window manager will adjust our
initial position and don't consider that in the workaround logic.
vncviewer/DesktopWindow.cxx