~ubuntu-branches/ubuntu/natty/libxi/natty-201011191114

« back to all changes in this revision

Viewing changes to src/XGrabDev.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-11-21 18:39:28 UTC
  • mfrom: (1.1.10 upstream) (0.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091121183928-ek2jwqx3rmhv3zjz
Tags: 2:1.3-1
* Bump Standards-Version to 3.8.3.
* Add build-deps on xmlto and asciidoc to build the manpages.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Xorg: XGrabDev.c,v 1.4 2001/02/09 02:03:51 xorgcvs Exp $ */
2
 
 
3
1
/************************************************************
4
2
 
5
3
Copyright 1989, 1998  The Open Group
45
43
SOFTWARE.
46
44
 
47
45
********************************************************/
48
 
/* $XFree86: xc/lib/Xi/XGrabDev.c,v 3.3 2001/12/14 19:55:17 dawes Exp $ */
49
46
 
50
47
/***********************************************************************
51
48
 *
61
58
#include "XIint.h"
62
59
 
63
60
int
64
 
XGrabDevice(dpy, dev, grab_window, ownerEvents, event_count, event_list,
65
 
            this_device_mode, other_devices_mode, time)
66
 
    register Display *dpy;
67
 
    XDevice *dev;
68
 
    Window grab_window;
69
 
    Bool ownerEvents;
70
 
    int event_count;
71
 
    XEventClass *event_list;
72
 
    int this_device_mode;
73
 
    int other_devices_mode;
74
 
    Time time;
 
61
XGrabDevice(
 
62
    register Display    *dpy,
 
63
    XDevice             *dev,
 
64
    Window               grab_window,
 
65
    Bool                 ownerEvents,
 
66
    int                  event_count,
 
67
    XEventClass         *event_list,
 
68
    int                  this_device_mode,
 
69
    int                  other_devices_mode,
 
70
    Time                 time)
75
71
{
76
72
    xGrabDeviceReply rep;
77
73
    register xGrabDeviceReq *req;