xserver-multidpi/Xext
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
..
bigreq.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10:00
dpms.c DPMS: Code motion. 2009-04-03 18:22:19 -04:00
dpmsproc.h DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
dpmsstubs.c DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
geext.c Xext: remove ev_fill from GEExtensions. 2009-03-20 15:17:54 +10:00
geext.h Xext: remove ev_fill from GEExtensions. 2009-03-20 15:17:54 +10:00
geint.h Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Makefile.am Revert accidental Makefile change from previous commit 2009-04-03 22:38:00 -04:00
mbuf.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mbufbf.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
mbufpx.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
panoramiX.c xinerama: Put the proto version in the code instead using proto headers. 2009-02-17 15:28:29 -08:00
panoramiX.h xext: Use proto header rather than the Xext include file, this prevents userspace being pulled in causing issues 2009-02-13 17:24:37 +10:30
panoramiXh.h Centralize declaration of ConnectionInfo. 2008-08-20 13:14:34 -04:00
panoramiXprocs.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
panoramiXsrv.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
panoramiXSwap.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
saver.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
security.c security: Grant untrusted windows remove access on all windows. 2009-04-16 23:46:01 -04:00
securitysrv.h Rework of the XC-SECURITY extension. The gen-auth protocol has not changed, 2007-11-08 16:32:42 -05:00
shape.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
shm.c xserver: Avoid sending uninitialized padding data over the network 2009-02-16 13:28:38 +10:00
shmint.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
sleepuntil.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
sleepuntil.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
sync.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-03-09 13:08:09 -07:00
syncsrv.h Fix syncsrv.h guard define 2008-12-11 17:04:37 -05:00
xace.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
xace.h Update sdk headers to export new symbols. 2009-01-05 16:49:57 -02:00
xacestr.h XACE: Add generic support for property and selection polyinstantiation. 2008-02-29 18:01:37 -05:00
xcalibrate.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xcmisc.c Xext: ANSI cleanups 2009-01-11 08:54:10 +01:00
xf86bigfont.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
xres.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xselinux.c xselinux: Don't BadAlloc in List* requests if there are no items to list. 2009-04-09 02:48:04 -04:00
xselinux.h XSELinux: Add a request to get a client's context from a resource ID. 2008-03-31 17:35:10 -04:00
xtest.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xvdisp.c xv: remove useless XVCALL macro 2008-12-19 10:27:37 -05:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h xv: remove useless XVCALL macro 2008-12-19 10:27:37 -05:00
xvmain.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
xvmc.c Remove a bunch of useless casts. 2009-01-22 02:11:16 -05:00
xvmcext.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00