diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-07-08 17:01:04 -0400 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-10 08:49:37 +1000 |
commit | aa628936c7d81ff5fe2da62964dc543c67ec66f1 (patch) | |
tree | d23db9eb9cd70ec4e567ecd46f510eeb392bad18 /include | |
parent | eb0c522e0ce5763b6bf181f1236e78ca94f98b7e (diff) |
XIPassiveGrab: Fix completely broken locking in XIGrabTouchBegin
_XIPassiveGrabDevice calls LockDisplay as the first thing it does. That
means that it expects the display to be unlocked. XIGrabTouchBegin locks
the display to check for the XI extension, and then never unlocks it.
Effectively, this meant that anybody that called XIGrabTouchBegin after
XInitThreads just got a deadlock.
Cool.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions