Go to file
Peter Hutterer 50d80c2552 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>
(cherry picked from commit d36adf52a2)
2009-01-30 17:10:40 -08:00
composite Switching from Automatic to Manual redirect needs to unmap/remap 2008-09-19 20:58:32 -07:00
config When HAL returns a NULL property, print "(null)" instead of a NULL pointer 2008-11-05 21:58:30 -08:00
damageext Unifdef ISC 2008-10-02 17:03:54 -04:00
dbe Dead code cleanup over DBE. 2008-11-25 15:05:20 -05:00
dix dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-30 17:10:40 -08:00
doc Document zap/-retro interaction more. 2008-10-07 20:40:15 -04:00
exa EXA: Declare glyph cache picture as component-alpha when necessary. 2009-01-30 16:44:49 -08:00
fb Partially reverts commit 505c216d03. 2008-10-03 11:24:34 -07:00
glx GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
hw avoid a potential endless loop. 2009-01-30 16:56:09 -08:00
include dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-30 17:10:40 -08:00
mi dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-30 17:10:40 -08:00
miext XQuartz: Get rid of white rectangle bug 2009-01-09 10:59:32 -08:00
os Don't log audit messages when -audit 0 specified 2009-01-09 09:59:54 -08:00
randr Make RandR CRTC info report panning area instead of just crtc area 2009-01-30 15:44:45 -08:00
record Drop the never-called SkippedRequestCallback list. 2008-10-03 17:51:19 -04:00
render Move matrix operations from X server to pixman 0.13.2 2008-11-25 22:17:58 -08:00
Xext xsync: Fix wakeup storm in idletime counter. 2008-12-16 09:55:27 -05:00
xfixes Unifdef ISC 2008-10-02 17:03:54 -04:00
Xi mi: force CopyKeyClass for key events. (#19048) 2009-01-12 18:27:09 +10:00
xkb mi: Clean up CopyGetMasterEvent, re-use the memory. 2009-01-09 10:30:27 -08:00
.gitignore gitignore: ignore .patch files 2008-11-21 09:04:17 +10:00
acinclude.m4 dolt: allow older versions of bash to compile the xserver (#19031) 2008-12-16 12:03:03 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:44:49 -08: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 XTrap delenda est. 2008-06-25 09:52:36 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00