Xext: if a root window is given in XTestFakeInput, move to that
authorPeter Hutterer <peter.hutterer@who-t.net>
Sat, 26 Jan 2013 05:53:08 +0000 (15:53 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 8 Feb 2013 03:49:49 +0000 (13:49 +1000)
commit8571c648a79444bcee9a0fe6e395129116372f49
tree143843a256d3ccda8f461749de9a089dcebaf5ee
parent9fd6cb89539fde44a41ae5183c89ef9c8831c8dd
Xext: if a root window is given in XTestFakeInput, move to that

For absolute events, if the client specifies a screen number offset the
coordinates by that. And add a new flag so we know when _not_ to add the
screen offset in GPE.

Without this offset and the flag, GPE would simply add the offset of the
current screen if POINTER_SCREEN is set.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Xext/xtest.c
dix/getevents.c
include/input.h