xserver-multidpi/include
Keith Packard cfcb3da75e Make button down state a bitmask. Master buttons track union of slave buttons
Mixing usage where some parts of the code treated this field as a bitmask
and other parts as an array of card8 was wrong, and as the wire protocol
wanted bitmasks, it was less invasive to switch the newer counting code use
booleans.

Master devices track slave buttons by waiting for all slave buttons to be
released before delivering the release event to the client.

This also removes the state merging code in DeepCopyDeviceClasses -- that
code was changing master device state without delivering any events,
violating protocol invariants. The result will be that existing slave
button state which does not match the master will not be visible through the
master device. Fixing this would require that we synthesize events in this
function, which seems like a bad idea. Note that keyboards have the same
issue.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-06-19 17:41:00 +09:30
..
bstore.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
bstorestr.h Implement core protocol backing store exclusively in terms of Composite. 2007-08-25 15:08:20 -04:00
closestr.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
closure.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormap.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormapst.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
cursor.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
cursorstr.h devPrivates rework: convert CursorRec and CursorBits over to new interface. 2007-08-30 11:40:39 -04:00
dix-config.h.in Merge branch 'master' into mpx 2008-05-26 17:37:31 +09:30
dix.h Merge branch 'master' into mpx 2008-05-20 10:20:14 +09:30
dixaccess.h dix: Add a bunch of new access codes. 2007-05-24 12:20:24 -04:00
dixevents.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
dixfont.h Merge branch 'master' into XACE-SELINUX 2007-12-13 18:38:25 -05:00
dixfontstr.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixgrabs.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
dixstruct.h Merge branch 'master' into mpx 2008-04-22 18:04:05 +09:30
exevents.h Xi: change UpdateDeviceState to be _X_EXPORT. 2008-04-29 14:17:48 +09:30
extension.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
extinit.h Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
extnsionst.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
gc.h xace: add hooks + new access codes: core protocol GC requests 2007-08-14 13:09:38 -04:00
gcstruct.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
globals.h Merge branch 'master' into mpx 2008-05-20 10:20:14 +09:30
hotplug.h Convert all my license statements to the standard form 2007-08-01 01:53:31 +03:00
input.h CopyGetMasterEvent() can be static. 2008-06-11 18:03:33 -03:00
inputstr.h Make button down state a bitmask. Master buttons track union of slave buttons 2008-06-19 17:41:00 +09:30
kdrive-config.h.in kdrive: numerous warning fixes 2006-10-23 06:08:27 +03:00
Makefile.am Add xkbstr.h and xkbsrv.h to sdk_HEADERS 2008-05-30 00:27:39 +02:00
misc.h Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
miscstruct.h Merge branch 'master' into XACE-SELINUX 2007-08-28 07:25:21 -04:00
opaque.h Remove global argc/argv variables. 2008-05-14 15:53:11 -04:00
os.h drop xprint remnants: InitGlobals 2008-05-21 18:13:09 +03:00
pixmap.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
pixmapstr.h Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
privates.h Make devPrivates lookup functions ABI instead of static inlines. 2008-06-13 16:43:56 -04:00
property.h dix: Refactoring of property code to allow for polyinstantiation. 2008-02-29 18:01:37 -05:00
propertyst.h dix: devPrivates support for PropertyRec. 2007-03-22 10:59:21 -04:00
region.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
regionstr.h Silence REGION_INIT() warning. 2008-03-11 13:18:01 -04:00
registry.h registry: XREGISTRY_UNKNOWN needs to be defined even if XREGISTRY isn't enabled 2007-12-14 23:10:13 -02:00
resource.h Merge branch 'master' into XACE-SELINUX 2007-12-13 18:38:25 -05:00
rgb.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
screenint.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
scrnintstr.h Remove UndisplayCursor API. 2008-05-13 11:17:02 +09:30
selection.h dix: Refactoring of selection code to allow for polyinstantiation. 2008-02-29 18:01:37 -05:00
servermd.h Fix unterminated endif. 2008-06-13 11:17:49 -04:00
site.h X.Org Group -> X.Org Foundation 2008-02-14 07:51:19 +11:00
swaprep.h General DIX static and dead code cleanup. 2007-03-25 17:57:54 -04:00
swapreq.h Clean up many #if 0. 2007-12-02 12:40:25 -05:00
validate.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
window.h dix: remove obsolete InitWindowPrivates(). 2008-04-25 14:30:26 +09:30
windowstr.h Remove all traces of #ifdef XINPUT and the matching bits from the configure.ac 2008-04-25 16:49:35 +09:30
XIstubs.h Xi: disallow changing core keyboard and pointer 2006-10-29 03:43:34 +03:00
xkb-config.h.in Fix remnants of previous busted _XkbStrCaseCmp commit. 2006-03-27 22:28:32 +00:00
xkbfile.h XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00
xkbsrv.h xkb: delete default rules when devices are closed. 2008-06-02 10:27:05 +09:30
xkbstr.h XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00
xorg-config.h.in int10: add pci_device_enable support on Linux 2008-05-22 08:58:42 +10:00
xorg-server.h.in Nuke the MIT-SUNDRY-NONSTANDARD extension. 2008-04-18 16:37:08 -07:00
xwin-config.h.in Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00