summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2010-08-25 22:21:55 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2010-08-26 08:55:45 +1000
commita00926cd16a0b6ddb9f7b074dce88e3fb840831c (patch)
treefaa8b387cc5fba874b438f0dc7b486475d33f334 /src
parent3f2814a0f9193cb33b44ef53059a4b349cf4cabc (diff)
Fix build with gcc 2.95
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/XISelEv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XISelEv.c b/src/XISelEv.c
index dad890e..f1f3fa4 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -104,9 +104,9 @@ XIGetSelectedEvents(Display* dpy, Window win, int *num_masks_return)
xXIEventMask *mask_in = NULL, *mi;
xXIGetSelectedEventsReq *req;
xXIGetSelectedEventsReply reply;
+ XExtDisplayInfo *info = XInput_find_display(dpy);
*num_masks_return = -1;
- XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
goto out;