xserver-multidpi/dix
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
..
access.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
atom.c Small static cleanups on dix/ 2007-11-15 17:01:33 -05:00
buildatoms XFree86 4.3.0.1 2003-11-14 16:49:22 +00:00
BuiltInAtoms R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
CHANGES R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
colormap.c Bug #10464: Set pixel value to 0 before FindColor() 2008-02-29 16:42:04 -05:00
cursor.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
deprecated.c dix: add new, combined resource lookup function. Move all dix lookup API 2007-04-04 16:00:15 -04:00
devices.c Make button down state a bitmask. Master buttons track union of slave buttons 2008-06-19 17:41:00 +09:30
dispatch.c Merge branch 'master' into mpx 2008-05-20 10:20:14 +09:30
dispatch.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixfonts.c Merge branch 'master' into mpx 2008-05-20 10:20:14 +09:30
dixutils.c Fixed dixLookupClient to work with client=NullClient as it did in the 1.3 branch 2008-04-21 20:09:20 -07:00
events.c dix: don't attempt to send Enter/Leave events if we have a keyboard. 2008-06-19 17:23:56 +09:30
extension.c registry: swap out the DTRACE XErrorDB stuff for the new registry call. 2007-11-26 15:59:44 -05:00
ffs.c ffs: handle 0 argument (bug #8968) 2006-11-11 14:13:56 +02:00
gc.c Merge branch 'master' into XACE-SELINUX 2007-11-05 19:08:36 -05:00
getevents.c Xi: avoid double button mapping. 2008-06-15 11:47:24 +09:30
globals.c Move defaultDisplayClass to xdmcp-only visibility. 2008-05-14 16:07:51 -04:00
glyphcurs.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
grabs.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
initatoms.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
main.c Merge branch 'master' into mpx 2008-05-26 17:37:31 +09:30
Makefile.am Merge branch 'master' into mpx 2008-05-26 17:37:31 +09:30
pixmap.c On second thought, revert that, it'll make large pixmaps painfully slow. 2008-02-29 16:45:11 -05:00
privates.c Make devPrivates lookup functions ABI instead of static inlines. 2008-06-13 16:43:56 -04:00
property.c Merge branch 'master' into dcdc_rework 2008-04-07 07:56:41 +09:30
protocol.txt SELinux: Bring server-side name registry up to date. 2008-06-17 17:55:11 -04:00
registry.c registry: Add a call for DTRACE compatibility. 2007-11-26 15:59:01 -05:00
resource.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
selection.c Merge branch 'master' into dcdc_rework 2008-04-07 07:56:41 +09:30
strcasecmp.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
swaprep.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
swapreq.c dix: remove 'register' keyword for all variables. 2007-03-08 17:50:25 +10:30
tables.c Remove the old Kerberos 5 authentication code. 2007-06-04 18:07:00 -04:00
window.c dix: remove obsolete InitWindowPrivates(). 2008-04-25 14:30:26 +09:30
Xserver-dtrace.h.in Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00
Xserver.d Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00