xserver-multidpi/hw/xfree86/ramdac
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
..
BT.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
BT.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
BTPriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
CURSOR.NOTES Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
IBM.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
IBM.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
IBMPriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
TI.c xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:20:57 +10:00
TI.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
TIPriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Cursor.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xf86Cursor.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86CursorPriv.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
xf86HWCurs.c xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
xf86RamDac.c xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
xf86RamDac.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86RamDacCmap.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86RamDacPriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00