diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-12-04 19:07:46 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-12-04 19:07:46 +1030 |
commit | f44d7dcb5fefca3ddfd45e75d0bd0b47ec785e48 (patch) | |
tree | 57767d7355c10676bca087d4da8311e96882d492 /include/dix.h | |
parent | 0931f40bf1bd6e00b8d95968d761a495b2c9a46c (diff) |
dix: change the filters to be per-device.
If we have one global filter, one pointer may change the filter value and
affect another pointer.
Reproduceable effect:
blackbox and xterm, start dragging xterm then click anywhere with the other
pointer (attached to different masterd device!). The button release resets
the filter[Motion_Filter(button)] value, thus stopping dragging and no event
is sent to the client anymore.
Having the filters set per device gets around this.
Diffstat (limited to 'include/dix.h')
-rw-r--r-- | include/dix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h index db90579aa..6da3ee86f 100644 --- a/include/dix.h +++ b/include/dix.h @@ -345,6 +345,7 @@ extern void SetVendorString(char *string); /* events.c */ extern void SetMaskForEvent( + int /* deviceid */, Mask /* mask */, int /* event */); |