xserver-multidpi/xkb
Peter Hutterer cbc6f98395 xkb: when faking mouse button events, fake them on the correct devices.
When MouseKeys are activated, keyboard devices may generate fake mouse button
events through XKB. Let's get then running through the appropriate paths, i.e.
as XI events on the correct device.

To make matters more fun, ProcessOtherEvents drops events if the DIX device
state cannot be updated accordingly, i.e. all button events from keyboard
devices.
Hence we need to get the paired MD for the device in XkbDDXFakeDeviceButton,
and post the event through the paired MD (usually the VCP).

Removes now-unused ddxFakeBtn.c.

Note: this patch only half-arsedly fixed button events, motion events are a
more complicated matter.
2008-11-04 16:04:15 +10:30
..
ddxBeep.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
ddxCtrls.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
ddxDevBtn.c xkb: when faking mouse button events, fake them on the correct devices. 2008-11-04 16:04:15 +10:30
ddxFakeMtn.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ddxInit.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
ddxKeyClick.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
ddxKillSrv.c XKB: Actions: Don't run certain actions on the core keyboard 2007-12-05 19:37:48 +00:00
ddxLEDs.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
ddxList.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
ddxLoad.c Unifdef __osf__ 2008-07-23 13:38:38 -04:00
ddxPrivate.c Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
ddxVT.c Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
Makefile.am xkb: when faking mouse button events, fake them on the correct devices. 2008-11-04 16:04:15 +10:30
maprules.c Move strcasecmp(), strcasencmp() and strcasestr() prototypes to os.h 2008-08-10 23:07:46 +02:00
README.compiled R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
xkb.c xkb: ProcXkbSetCompatMap should do dry-runs, then normal runs. 2008-10-31 16:00:48 +10:30
xkb.h XKB: Move headers into the server tree 2008-02-17 22:52:07 +02:00
xkbAccessX.c xkb: don't send core events on SlowKeys. 2008-07-28 09:04:48 +09:30
xkbActions.c xkb: when faking mouse button events, fake them on the correct devices. 2008-11-04 16:04:15 +10:30
XKBAlloc.c XKB: Move headers into the server tree 2008-02-17 22:52:07 +02:00
xkbDflts.h Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
xkbEvents.c xkb: when faking mouse button events, fake them on the correct devices. 2008-11-04 16:04:15 +10:30
xkbfmisc.c XKB: Fix initial map setting on startup 2008-03-04 03:50:25 +02:00
XKBGAlloc.c XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbgeom.h XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbInit.c Unifdef __osf__ 2008-07-23 13:38:38 -04:00
xkbLEDs.c xkb: fix crash caused by uninitialised variable. 2008-05-22 16:00:21 +09:30
XKBMAlloc.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
XKBMisc.c XKB: Fix thinko, causing warning (erroneously fixed in 5544c51447) 2008-11-04 16:01:07 +10:30
xkbout.c XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00
xkbPrKeyEv.c Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h. 2008-10-31 17:09:13 +10:30
xkbPrOtherEv.c XkbProcessOtherEvent: Don't depend on now-removed header 2008-02-17 22:52:08 +02:00
xkbSwap.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkbtext.c XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbUtils.c XKB: Tiny cleanups to _XkbLookupAnyDevice 2008-11-04 16:01:41 +10:30
xkmread.c XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02: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.