xserver-multidpi/xkb
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
..
ddxBeep.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxCtrls.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxDevBtn.c Input: change processing API to InternalEvents. 2009-02-23 17:52:40 +10:00
ddxFakeMtn.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxKillSrv.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxLEDs.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxList.c XKB: Remove support for setting combined keymaps 2009-01-22 15:08:56 +11:00
ddxLoad.c XKB: Remove support for setting combined keymaps 2009-01-22 15:08:56 +11:00
ddxPrivate.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxVT.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Makefile.am XKB: Remove unused XkbProcessOtherEvent 2009-01-22 15:08:59 +11:00
maprules.c XKB: Remove descriptions from maprules 2009-01-22 15:08:56 +11:00
README.compiled R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
xkb.c Input: rename DeviceIntRec->isMaster to ->type. 2009-05-22 15:44:50 +10:00
xkb.h XKB: Move XkbCopyKeymap definition to xkbsrv.h 2009-01-20 15:32:18 +11:00
xkbAccessX.c Fix build with --enable-debug. 2009-03-03 16:53:06 +10:00
xkbActions.c xkb: remove oldState from XkbHandleActions. 2009-05-06 14:37:32 +10:00
XKBAlloc.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xkbDflts.h Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
xkbEvents.c xkb: remove Device/Enter leave handling - XI2 enter/leave don't have compat state. 2009-03-20 15:17:55 +10:00
xkbfmisc.c Constify atom name strings 2009-02-03 10:06:00 -08:00
XKBGAlloc.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xkbgeom.h XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbInit.c xkb: if kbd init failed, NULL out the pointers after freeing them (#21278) 2009-05-16 12:20:58 +10:00
xkbLEDs.c xkb: plug a memory leak in XkbCopySrvLedInfo (#20756) 2009-03-23 16:07:23 +10:00
XKBMAlloc.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
XKBMisc.c XKB: Sanitise vmods in actions 2009-01-22 15:08:57 +11:00
xkbout.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xkbPrKeyEv.c Input: change processing API to InternalEvents. 2009-02-23 17:52:40 +10:00
xkbSwap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xkbtext.c Constify atom name strings 2009-02-03 10:06:00 -08:00
xkbUtils.c Xi: add GrabButton and GrabKeysym code. 2009-05-06 14:37:33 +10:00
xkmread.c Constify atom name strings 2009-02-03 10:06:00 -08:00

The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.

Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.