xserver-multidpi/mi
Peter Hutterer b12d302df8 Input: rename DeviceIntRec->isMaster to ->type.
isMaster is not enough as long as we differ between master pointers and
keyboard. With flexible device classes, the usual checks for whether a
master device is a pointer (currently check for ->button, ->valuators or
->key) do not work as an SD may post an event through a master and mess this
check up.

Example, a device with valuators but no buttons would remove the button
class from the VCP and thus result in the
IsPointerDevice(inputInfo.pointer) == FALSE.

This will become worse in the future when new device classes are introduced
that aren't provided in the current system (e.g. a switch class).

This patch replaces isMaster with "type", one of SLAVE, MASTER_POINTER and
MASTER_KEYBOARD. All checks for dev->isMaster are replaced with an
IsMaster(dev).
2009-05-22 15:44:50 +10:00
..
Makefile.am misprite: Remove private header, fold into misprite.c 2009-03-27 12:44:20 -04:00
mi.h mi: add prototype for CopyGetMasterEvent. 2009-04-19 22:18:15 +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 Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02: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 Remove a bunch of useless casts. 2009-01-22 02:11:16 -05: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 Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mieq.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
miexpose.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10: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 XKB: Make XKB mandatory 2009-01-22 15:06:25 +11: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 Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +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: kill a few warnings 2009-02-07 21:58:17 +01: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 Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +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 Remove a bunch of useless casts. 2009-01-22 02:11:16 -05: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