]> source.dussan.org Git - tigervnc.git/commit
Convert pointer coordinates to absolute
authorPierre Ossman <ossman@cendio.se>
Thu, 18 Aug 2016 14:14:55 +0000 (16:14 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 18 Aug 2016 14:14:55 +0000 (16:14 +0200)
commit2a66f6f3a0d9cf5b266c304718efbecf976c13d1
tree5fc0dcbe29fd89d6946f1558cad2bf965d5373a8
parente823c0caa3e176a9de86da7746598189b9ef9936
Convert pointer coordinates to absolute

It is possible to set pointer coordinate using absolute numbers, but
getting them back will always give us screen relative ones. Do the
necessary calculations manually so we return sane values to the caller.
unix/xserver/hw/vnc/Input.c