Go to file
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
composite composite: Fix resource lookups 2009-04-14 16:21:04 -04:00
config config: if we can't connect to HAL, listen for a startup notification. 2009-02-10 15:01:44 +10:00
damageext Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dbe Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dix Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
doc Remove references to rgb.txt from files section of Xserver and Xorg man pages 2009-02-27 14:42:59 +00:00
exa exa: add missing exa.h header include 2009-04-23 12:13:35 +10:00
fb fb: add fbDoCopy and fbCopyRegion compatibility wrappers. 2009-02-11 14:35:17 +01:00
glx DRI2: Add missing front-buffer flush callback. 2009-04-20 20:58:56 -07:00
hw Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
include Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os os: don't malloc memory in LogVMessageVerb. 2009-04-19 22:20:18 +10:00
randr Correct access mode in call to dixLookupWindow() within RRSelectInput. 2009-03-09 17:29:24 -04:00
record Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
render render: replace a wrong inputInfo.pointer with pDev 2009-03-16 13:29:07 +10:00
test Update to new XI2 names 2009-05-16 12:20:58 +10:00
Xext Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xfixes xfixes: Fix a couple of resource lookups 2009-04-14 14:24:40 -04:00
Xi Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xkb Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac require inputproto 1.9.99.9 2009-05-16 12:20:59 +10:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00