diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-19 19:58:39 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-19 19:58:39 +1000 |
commit | 8487030472914230bec6ecb95e58cf621e69b608 (patch) | |
tree | dec799567d560f9d6a41c9b16f0b60e806350bf0 /src/XIGrabDevice.c | |
parent | 3a699cda35a7c190010e5a974cd7a4e7be9df049 (diff) |
Add a bunch of missing LockDisplay() calls.
Reported-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Diffstat (limited to 'src/XIGrabDevice.c')
-rw-r--r-- | src/XIGrabDevice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XIGrabDevice.c b/src/XIGrabDevice.c index f97138c..bb668ee 100644 --- a/src/XIGrabDevice.c +++ b/src/XIGrabDevice.c @@ -41,6 +41,8 @@ XIGrabDevice(Display* dpy, int deviceid, Window grab_window, Time time, int len; XExtDisplayInfo *extinfo = XInput_find_display(dpy); + + LockDisplay(dpy); if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1) return (NoSuchExtension); |