]> source.dussan.org Git - tigervnc.git/commit
Only restore level if it is wrong
authorPierre Ossman <ossman@cendio.se>
Thu, 30 Dec 2021 09:16:45 +0000 (10:16 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 30 Dec 2021 09:16:45 +0000 (10:16 +0100)
commit425d8302b44137234e83d62edb70754d114b5cba
treee18661c26e4cd437c13975ef10eb6265b55b6f4e
parent345fdb216f7d481ff0ccd632a973a8ee897a4eb8
Only restore level if it is wrong

Tweak the workaround from 9023a2e so that it only triggers if there
actually is a problem to fix. This is important since changing levels
also has the side effect of raising the window to the top of the level.
vncviewer/DesktopWindow.cxx