From 3d0889d2b8d326319e17ffc49e114892ef54f979 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Mon, 17 Nov 2003 19:03:41 +0000 Subject: merge XFree86 4.3.0.1 to -CURRENT --- src/XGrabDev.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/XGrabDev.c') diff --git a/src/XGrabDev.c b/src/XGrabDev.c index 6f5ee02..8b953bf 100644 --- a/src/XGrabDev.c +++ b/src/XGrabDev.c @@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/lib/Xi/XGrabDev.c,v 3.4 2002/10/16 00:37:29 dawes Exp $ */ /*********************************************************************** * @@ -52,11 +53,12 @@ SOFTWARE. * */ -#include "XI.h" -#include "XIproto.h" -#include "Xlibint.h" -#include "XInput.h" -#include "extutil.h" +#include +#include +#include +#include +#include +#include "XIint.h" int XGrabDevice (dpy, dev, grab_window, ownerEvents, event_count, event_list, @@ -73,7 +75,7 @@ XGrabDevice (dpy, dev, grab_window, ownerEvents, event_count, event_list, { xGrabDeviceReply rep; register xGrabDeviceReq *req; - XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy); + XExtDisplayInfo *info = XInput_find_display (dpy); LockDisplay (dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) -- cgit v1.2.3