summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Willich <sabotageandi@gmail.com>2011-10-29 21:43:27 +0200
committerAndreas Willich <sabotageandi@gmail.com>2011-10-29 21:43:27 +0200
commitc920e8daaa4a4a4a601f606eaa4764750fe80639 (patch)
tree6ee77ae8a68b6a41965a39bdef398543731d3b35 /x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch
parentUpdate patch with latest nathy release (diff)
downloadsabotageandi-c920e8daaa4a4a4a601f606eaa4764750fe80639.tar.gz
sabotageandi-c920e8daaa4a4a4a601f606eaa4764750fe80639.tar.bz2
sabotageandi-c920e8daaa4a4a4a601f606eaa4764750fe80639.zip
update versions
Diffstat (limited to 'x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch')
-rw-r--r--x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch b/x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch
new file mode 100644
index 0000000..368643b
--- /dev/null
+++ b/x11-base/xorg-server/files/xorg-server-1.10.4-r2-touch_grab_reject_send_ownership.patch
@@ -0,0 +1,12 @@
+--- a/Xi/exevents.c
++++ b/Xi/exevents.c
+@@ -1647,7 +1647,8 @@ ProcessTouchOwnership(DeviceIntPtr dev,
+ if (ev == ti->history + ti->history_size)
+ ev = ti->history;
+ }
+- } else if (tc->type == TOUCH_SELECT_UNOWNED &&
++ } else if ((tc->type == TOUCH_SELECT_UNOWNED ||
++ tc->type == TOUCH_GRAB) &&
+ !ti->emulate_pointer) {
+ DeliverTouchOwnershipEvent(tc, ti);
+ }