Go to file
Peter Hutterer d36adf52a2 dix: fix WarpPointer calls for devices with custom valuator ranges (#19297)
If the MD's lastSlave was a devices with custom axes ranges, then a
WarpPointer would position the cursor at the wrong location. A WarpPointer
request provides screen coordinates and these coordinates were scaled to the
device range before warping.

This patch consists of two parts:
1) in the WarpPointer handling, get the lastSlave and post the event through
   this device.
2) assume that WarpPointer coordinates are always in screen coordinates and
   scale them to device coordinates in GPE before continuing. Note that this
   breaks device-coordinate based XWarpDevicePointer calls (for which the spec
   isn't nailed down yet anyway) until a better solution is found.

X.Org Bug 19297 <http://bugs.freedesktop.org/show_bug.cgi?id=19297>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-13 09:22:56 +10:00
composite Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
config config: ANSI cleanups 2009-01-11 08:54:10 +01:00
damageext Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dbe Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dix dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-13 09:22:56 +10:00
doc Document zap/-retro interaction more. 2008-10-07 20:40:15 -04:00
exa exa: Allow drivers to set non-NULL devPrivate.ptr for !offscreen pixmaps. 2008-12-26 16:38:27 +01:00
fb Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
glx Ensure symbols required by swrast_dri.so are visible. 2008-12-17 02:04:12 -02:00
hw XQuartz: Don't need explicit Activate/EnableDevice in InitInput 2009-01-11 16:39:33 -08:00
include dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-13 09:22:56 +10:00
mi dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-13 09:22:56 +10:00
miext XQuartz: Get rid of white rectangle bug 2008-12-21 21:34:38 -08:00
os os: don't mix declarations and code 2009-01-11 08:54:13 +01:00
randr randr: RRSetPrimaryOutput can be static 2009-01-11 08:54:12 +01:00
record Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
render Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Xext xsync: make SyncAlarmCounterDestroyed static 2009-01-11 08:54:10 +01:00
xfixes Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Xi Xi: add XATOM_FLOAT to server-defined properties. 2009-01-12 12:55:27 +10:00
xkb xkb: ANSI cleanup 2009-01-11 08:54:12 +01:00
.gitignore Cygwin/X: Add *.exe pattern to .gitignore 2009-01-05 19:11:55 +00:00
acinclude.m4 dolt: allow older versions of bash to compile the xserver (#19031) 2008-12-12 04:54:34 -05:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac require randrproto 1.2.99.3 2009-01-13 00:12:56 +01:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Require macros 1.2.0 or newer for XORG_CHANGELOG and XORG_CWARNFLAGS. 2008-12-07 18:52:23 -02:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00