From 8487030472914230bec6ecb95e58cf621e69b608 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sun, 19 Apr 2009 19:58:39 +1000 Subject: Add a bunch of missing LockDisplay() calls. Reported-by: Paul "TBBle" Hampson --- src/XIAllowEvents.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/XIAllowEvents.c') 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); -- cgit v1.2.3