xserver-multidpi/hw
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
..
dmx dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
kdrive kdrive: set Activate/Deactivate grab for input devices (#21591) 2009-05-16 12:20:58 +10:00
vfb dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
xfree86 Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xnest input: allow NULL as XkbRMVLOSet in InitKeyboardDeviceStruct. 2009-04-17 10:03:40 +10:00
xquartz dix: remove all but main() from main.c 2009-04-28 16:03:56 +10:00
xwin Cygwin/X: Fix keyboard layout mapping for Latin American keyboards 2009-02-22 13:08:42 +00:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00