xserver-multidpi/include
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
..
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 #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
closure.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
colormapst.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
cursor.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
cursorstr.h Remove XEvIE 2008-11-04 16:01:07 +10:30
dix-config-post-verbatim.h XQuartz: Fat binary buildfixes 2009-01-07 10:57:06 -08:00
dix-config.h.in XQuartz: Fat binary buildfixes 2009-01-07 10:57:06 -08:00
dix.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
dixaccess.h dix: Add a bunch of new access codes. 2007-05-24 12:20:24 -04:00
dixevents.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
dixfont.h Default to use standard bitmap fonts, with builtins as fallback 2009-01-07 19:37:03 -02:00
dixfontstr.h Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dixgrabs.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
dixstruct.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
exevents.h Xi: add XATOM_FLOAT to server-defined properties. 2009-01-12 12:55:27 +10:00
extension.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
extinit.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
extnsionst.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
gc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
gcstruct.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
globals.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
hotplug.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
input.h dix: fix WarpPointer calls for devices with custom valuator ranges (#19297) 2009-01-13 09:22:56 +10:00
inputstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
kdrive-config.h.in kdrive: numerous warning fixes 2006-10-23 06:08:27 +03:00
Makefile.am XKB: Move XKBrules.h to the server too 2008-11-04 16:01:07 +10:30
misc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miscstruct.h Merge branch 'master' into XACE-SELINUX 2007-08-28 07:25:21 -04:00
opaque.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
os.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
pixmap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
pixmapstr.h pixmap: Add some notes to devKind and devPrivate. 2008-10-10 16:14:23 +02:00
privates.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
property.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
propertyst.h dix: devPrivates support for PropertyRec. 2007-03-22 10:59:21 -04:00
ptrveloc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
region.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
regionstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
registry.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
resource.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rgb.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
screenint.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
scrnintstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
selection.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
servermd.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
site.h X.Org Group -> X.Org Foundation 2008-02-14 07:51:19 +11:00
swaprep.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
swapreq.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
validate.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
window.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
windowstr.h dix: move focus handling into enterleave.c. 2009-01-08 11:45:22 +10:00
XIstubs.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xkb-config.h.in Fix remnants of previous busted _XkbStrCaseCmp commit. 2006-03-27 22:28:32 +00:00
xkbfile.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
xkbrules.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xkbsrv.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
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-07 10:57:06 -08:00
xserver-properties.h Xi: add XATOM_FLOAT to server-defined properties. 2009-01-12 12:55:27 +10:00
xwin-config.h.in Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00