]> source.dussan.org Git - tigervnc.git/commit
Explicitly choose current monitor
authorHugo Lundin <hugo@lundin.dev>
Thu, 15 Jul 2021 11:32:19 +0000 (13:32 +0200)
committerHugo Lundin <hugo@lundin.dev>
Fri, 16 Jul 2021 14:09:46 +0000 (16:09 +0200)
commita182475db57b3da5edf3d10542086397ee022dcd
treee997801ded31217a9a9b21f40151fe02717a7bdb
parent0d43b96d1c2385fc8202462cf170d7ac7da5d2f7
Explicitly choose current monitor

There are no guarantees from the WM that calling `fullscreen_screens`
with all monitor indices set to `-1` results in the window's current
monitor being used. Because FullScreenMode uses the word "current"
we want to explicitly ask the WM to use that monitor.
vncviewer/DesktopWindow.cxx