summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 15:51:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 15:52:16 +1000
commit5f217c70a42b743e7260035bd02065eca39bc268 (patch)
tree1178bb617c480df4c705967ac6b9bafeea6e1eb8 /src
parent92e5ad0a641d84cf4464f37ac372724a808a785f (diff)
XISelectEvents and XIGetSelectedEvents use "win" now instead of "window"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/XISelEv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XISelEv.c b/src/XISelEv.c
index 6ff7beb..bdc4fd1 100644
--- a/src/XISelEv.c
+++ b/src/XISelEv.c
@@ -57,7 +57,7 @@ XISelectEvents(Display* dpy, Window win, XIEventMask* masks, int num_masks)
req->reqType = info->codes->major_opcode;
req->ReqType = X_XISelectEvents;
- req->window = win;
+ req->win = win;
req->num_masks = num_masks;
/* get the right length */
@@ -113,7 +113,7 @@ XIGetSelectedEvents(Display* dpy, Window win, int *num_masks_return)
req->reqType = info->codes->major_opcode;
req->ReqType = X_XIGetSelectedEvents;
- req->window = win;
+ req->win = win;
if (!_XReply(dpy, (xReply *) &reply, 0, xFalse))
goto error;