From 5f217c70a42b743e7260035bd02065eca39bc268 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 12 Jun 2009 15:51:58 +1000 Subject: XISelectEvents and XIGetSelectedEvents use "win" now instead of "window" Signed-off-by: Peter Hutterer --- src/XISelEv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3