Peter Hutterer
395124bd27
dix: always copy grabs, don't reference them
...
Introduced in xorg-server-1.13.99.901-2-g9ad0fdb. Storing the grab pointer
in the listener turns out to be a bad idea. If the grab is not an active
grab or an implicit grab, the pointer stored is the one to the grab attached
on the window. This grab may be removed if the client calls UngrabButton or
similar while the touch is still active, leaving a dangling pointer.
To avoid this, copy the grab wherever we need to reference it later. This
is also what we do for pointer/keyboard grabs, where we copy the grab as
soon as it becomes active.
Reported-by: Maarten Lankhorst <maarten.lankhorst@canonical.com >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2013-05-10 14:32:38 +10:00
..
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-05-14 13:17:30 +01:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-04-15 13:30:58 +10:00
2012-03-21 13:54:42 -07:00
2013-05-10 14:32:38 +10:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:41:19 +10:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 22:52:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 22:52:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-17 15:01:22 +10:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 14:02:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:40:44 +10:00
2012-03-21 13:54:42 -07:00
2012-05-24 14:57:11 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-05-10 14:32:37 +10:00
2012-03-21 13:54:42 -07:00
2013-05-10 14:32:37 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-05-07 09:41:19 +10:00
2013-05-07 09:41:19 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-12-19 12:22:03 -08:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2013-04-15 10:21:48 +10:00
2012-03-21 13:54:42 -07:00
2013-05-10 14:32:37 +10:00
2012-03-21 13:54:42 -07:00
2012-10-30 15:11:10 +10:00
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-11-19 12:12:23 +10:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-12-12 17:25:16 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-09 19:58:30 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00