xserver/mi
Peter Hutterer 5549d99acb mi: handle DGA subtypes when determining the master device.
The subtype in the DGA event is the core type and all ET_ event types (where
applicable) are identical to the core types. Thus the switch statement below
will work as required and assign the right master device.

Fixes a crasher bug on keyboard devices with valuators. If a device sends a
motion event while grabbed and a DGA client is active (but has not selected
input through DGA), the valuator event is posted through the VCK and
eventually results in a NULL-pointer dereference on dev->valuator.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 31ab9f8860)
(cherry picked from commit faecab3b13)
2011-01-12 10:17:46 +01:00
..
Makefile.am misprite: Remove private header, fold into misprite.c 2009-03-27 12:44:20 -04:00
mi.h Eliminate bogus event resizing. 2009-09-20 20:45:24 +10:00
miarc.c mi: kill a few warnings 2009-02-07 21:58:17 +01:00
mibank.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mibank.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mibitblt.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mibstore.c Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
mibstore.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mibstorest.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
micmap.c Update Sun license notices to current X.Org standard form 2009-12-18 17:12:00 -08:00
micmap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
micoord.h Unifdef sgi. 2008-07-23 13:37:42 -04:00
micopy.c fb: move some code to mi 2009-02-06 18:42:39 +01:00
micursor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midash.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midispcur.c Revert "mi: don't thrash resources when displaying the software cursor across screens" 2010-04-21 11:48:50 +10:00
mieq.c mi: handle DGA subtypes when determining the master device. 2011-01-12 10:17:46 +01:00
miexpose.c rootless: Add some sanity checking to miPaintWindow 2010-05-02 20:05:29 -07:00
mifillarc.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mifillarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifillrct.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mifpoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifpolycon.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
migc.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
migc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miglblt.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
miinitext.c Fix segfault when -extension XKEYBOARD is passed on the command line 2009-10-19 11:20:16 +10:00
miline.h mi: kill a few warnings 2009-02-07 21:58:17 +01:00
mioverlay.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mioverlay.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipointer.c mi: use GetMaster() from MIPOINTER and MISPRITE. 2009-05-22 15:44:57 +10:00
mipointer.h mi: un-deprecate miPointerWarpCursor 2009-05-16 12:20:58 +10:00
mipointrst.h mi: protect mipointrst.h against multiple includes. 2008-06-11 17:24:19 +09:30
mipoly.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolycon.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mipolygen.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mipolypnt.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mipolyrect.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mipolyseg.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolytext.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolyutil.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mipushpxl.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
miregion.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
miscanfill.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
miscrinit.c mi: include shmint.h if needed, silence compiler warning. 2009-08-24 10:09:14 +10:00
mispans.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mispans.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
misprite.c mi: use GetMaster() from MIPOINTER and MISPRITE. 2009-05-22 15:44:57 +10:00
misprite.h Revert "Suppress software cursor removal during rotated shadow buffer drawing." 2007-04-19 17:49:34 -07:00
mistruct.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
mivalidate.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
mivaltree.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
miwideline.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
miwideline.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miwindow.c Rootless: Correct border rendering on parent-relative windows 2009-09-27 23:09:51 -07:00
mizerarc.c mi: kill a few warnings 2009-02-07 21:58:17 +01:00
mizerarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerclip.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerline.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00