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/XIAllowEvents.c | |
parent | 3a699cda35a7c190010e5a974cd7a4e7be9df049 (diff) |
Add a bunch of missing LockDisplay() calls.
Reported-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Diffstat (limited to 'src/XIAllowEvents.c')
-rw-r--r-- | src/XIAllowEvents.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XIAllowEvents.c b/src/XIAllowEvents.c index 7ae4119..75980a0 100644 --- a/src/XIAllowEvents.c +++ b/src/XIAllowEvents.c @@ -35,6 +35,8 @@ XIAllowEvents(Display *dpy, int deviceid, int event_mode, Time time) xXIAllowEventsReq *req; XExtDisplayInfo *extinfo = XInput_find_display(dpy); + + LockDisplay(dpy); if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1) return (NoSuchExtension); |