Go to file
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
composite Prevent the -wm command line option from causing a SEGV 2008-05-12 03:03:13 -04:00
config config: init dev to NULL to shut up a valgrind warning. 2008-06-02 10:26:03 +09:30
damageext Revert "registry: Register DAMAGE extension protocol names." 2007-11-20 17:31:00 -05:00
dbe dbe: fix DoS reported by iDefense. 2008-06-12 09:04:24 +10:00
dix Make button down state a bitmask. Master buttons track union of slave buttons 2008-06-19 17:41:00 +09:30
doc Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
exa Set driverPriv immediately on CreatePixmap. 2008-06-18 22:34:02 +01:00
fb Fix "warning: passing argument 1 of 'pixman_fill' from incompatible pointer type". 2008-06-13 21:23:31 -04:00
glx glx: drop unused cleargc 2008-06-13 16:00:15 +03:00
hw Bug #15169: Make the server build again on Alpha. 2008-06-17 10:35:24 -04:00
include Make button down state a bitmask. Master buttons track union of slave buttons 2008-06-19 17:41:00 +09:30
mi mi: remove trailing whitespaces from misprite.c 2008-06-18 10:07:37 +09:30
miext Rootless: mi doesn't let us resize root, so we need to do it ourselves... 2008-05-05 15:34:10 -07:00
os Fix "Warning: no previous prototype for `SecureRPCInit'". 2008-06-13 22:22:22 -04:00
randr randr: remove superfluous check against uninitialised variable. 2008-06-15 11:47:08 +09:30
record CVE-2008-1377 - RECORD and Security extensions memory corruption 2008-06-11 08:06:09 -06:00
render CVE-2008-2362 - RENDER Extension memory corruption 2008-06-11 08:06:10 -06:00
Xext SELinux: Add an extension alias under the OS-agnostic "Flask" name. 2008-06-17 19:11:21 -04:00
xfixes Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
Xi Make button down state a bitmask. Master buttons track union of slave buttons 2008-06-19 17:41:00 +09:30
xkb input: fix up usage of button->down, used to be a bitmask, is now an array. 2008-06-18 10:17:08 +09:30
XTrap Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
.gitignore clean .gitignore 2008-06-13 16:00:16 +03:00
acinclude.m4 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 2008-04-16 18:38:38 -07:00
autogen.sh DeliverEventsToWindow: ensure that genericMask has a defined value. 2007-07-10 19:11:30 +09:30
configure.ac Bug #15169: Make the server build again on Alpha. 2008-06-17 10:35:24 -04:00
COPYING Standardise copyright headers for all new files created as part of MPX. 2008-04-25 14:50:24 +09:30
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Death to mfb. 2008-06-13 10:51:18 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00