]> source.dussan.org Git - tigervnc.git/commit
Use XQueryPointer() instead to detect zaphod
authorPierre Ossman <ossman@cendio.se>
Wed, 10 Apr 2024 10:37:45 +0000 (12:37 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 10 Apr 2024 10:40:19 +0000 (12:40 +0200)
commit34d96928632b79196cc3d46aa2abd7c1f1122593
tree2810f052c0ca6f0d8331a6881804e4beceb75b19
parentc987d61e8330063d9ae90d6e4b7c6d7e05109456
Use XQueryPointer() instead to detect zaphod

FLTK can send events with fl_xevent pointing to random memory, which
means that we cannot trust that structure. XQueryPointer() can give us
what we need, at the cost of an extra round trip.
vncviewer/DesktopWindow.cxx