xserver/include
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
..
bstore.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
bstorestr.h Implement core protocol backing store exclusively in terms of Composite. 2007-08-25 15:08:20 -04:00
closestr.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
closure.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormap.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormapst.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
cursor.h Reinstate cursorScreenDevPriv 2008-10-07 10:36:12 -04:00
cursorstr.h Remove XEvIE 2008-11-04 16:01:07 +10:30
dix-config-apple-verbatim.h Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:44:49 -08:00
dix-config.h.in Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:44:49 -08:00
dix.h Warning fix 2008-11-25 15:05:19 -05:00
dixaccess.h dix: Add a bunch of new access codes. 2007-05-24 12:20:24 -04:00
dixevents.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
dixfont.h Remove loadable font renderer support. 2008-07-16 14:49:36 -04:00
dixfontstr.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixgrabs.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
dixstruct.h Rename SaveSetMap() to SaveSetShouldMap(). 2008-09-23 10:22:22 -04:00
exevents.h Xi: change XIUnRegisterPropertyHandler to XIUnregisterPropertyHandler 2008-12-09 20:38:07 -08:00
extension.h Remove unused wrapping for visual initialization. 2008-10-03 17:51:21 -04:00
extinit.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
extnsionst.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
gc.h xace: add hooks + new access codes: core protocol GC requests 2007-08-14 13:09:38 -04:00
gcstruct.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
globals.h Remove XEvIE 2008-11-04 16:01:07 +10:30
hotplug.h Convert all my license statements to the standard form 2007-08-01 01:53:31 +03:00
input.h dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-30 17:10:40 -08:00
inputstr.h Move MAX_DEVICES to misc.h, rename to MAXDEVICES for consistency. 2008-10-31 17:09:13 +10:30
kdrive-config.h.in kdrive: numerous warning fixes 2006-10-23 06:08:27 +03:00
Makefile.am Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:44:49 -08:00
misc.h Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h. 2008-10-31 17:09:13 +10:30
miscstruct.h Merge branch 'master' into XACE-SELINUX 2007-08-28 07:25:21 -04:00
opaque.h Default to -br. Add -retro option for the nostalgic. 2008-09-22 10:51:51 -04:00
os.h Add prototypes for strlcpy/strlcat 2008-10-26 11:44:57 +01:00
pixmap.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
pixmapstr.h pixmap: Add some notes to devKind and devPrivate. 2008-10-10 16:14:23 +02:00
privates.h Array-index based devPrivates implementation. 2008-09-12 19:11:53 -04:00
property.h dix: Refactoring of property code to allow for polyinstantiation. 2008-02-29 18:01:37 -05:00
propertyst.h dix: devPrivates support for PropertyRec. 2007-03-22 10:59:21 -04:00
ptrveloc.h dix: use average of pointer accel profile 2008-08-04 15:13:30 +09:30
region.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
regionstr.h Dead code removal 2008-07-17 21:37:50 +03:00
registry.h registry: XREGISTRY_UNKNOWN needs to be defined even if XREGISTRY isn't enabled 2007-12-14 23:10:13 -02:00
resource.h Merge branch 'master' into XACE-SELINUX 2007-12-13 18:38:25 -05:00
rgb.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
screenint.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
scrnintstr.h Shape extension is built-in and mandatory. 2008-07-24 15:46:08 -04:00
selection.h dix: Refactoring of selection code to allow for polyinstantiation. 2008-02-29 18:01:37 -05:00
servermd.h Unifdef hpux. 2008-07-23 13:43:09 -04:00
site.h X.Org Group -> X.Org Foundation 2008-02-14 07:51:19 +11:00
swaprep.h General DIX static and dead code cleanup. 2007-03-25 17:57:54 -04:00
swapreq.h Clean up many #if 0. 2007-12-02 12:40:25 -05:00
validate.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
window.h dix: remove obsolete InitWindowPrivates(). 2008-04-25 14:30:26 +09:30
windowstr.h dix: move focus handling into enterleave.c. 2009-01-11 15:56:28 -08:00
XIstubs.h Xi: disallow changing core keyboard and pointer 2006-10-29 03:43:34 +03:00
xkb-config.h.in Fix remnants of previous busted _XkbStrCaseCmp commit. 2006-03-27 22:28:32 +00:00
xkbfile.h XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00
xkbrules.h XKB: Move XKBrules.h to the server too 2008-11-04 16:01:07 +10:30
xkbsrv.h XKB: Move XKBrules.h to the server too 2008-11-04 16:01:07 +10:30
xkbstr.h XKB: Remove pointless macros 2008-11-04 16:01:42 +10:30
xorg-config.h.in Convert Solaris #ifdef's for <sys/kd.h> to AC_CHECK_HEADERS check 2008-08-22 10:14:11 -07:00
xorg-server.h.in XQuartz: Fat binary buildfixes 2009-01-09 11:03:37 -08:00
xserver-properties.h Push server-known properties into xserver-properties.h. 2008-09-26 13:32:11 +09:30
xwin-config.h.in Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00