]> source.dussan.org Git - tigervnc.git/commit
Detect leaving window on zaphod systems
authorPierre Ossman <ossman@cendio.se>
Wed, 8 Mar 2023 17:15:33 +0000 (18:15 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 8 Mar 2023 17:15:33 +0000 (18:15 +0100)
commit7a2af97447ffbfeccf67de9a7f9eb1acd447ac9a
treeb0cff477a039badf758df7722519c0656d2ebd7c
parent15a0da6157d5d34362e68591124324ba5a77ad66
Detect leaving window on zaphod systems

The coordinates we get are relative the root window of each screen, so
we can only trust them if we are on the same screen. So let's explicitly
check that we are still getting events from the expected screen by
checking the root window field of the event.
vncviewer/DesktopWindow.cxx