~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.0/xorg/exevents.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XFree86: xc/programs/Xserver/include/exevents.h,v 3.1 1996/04/15 11:34:29 dawes Exp $ */
2
 
/************************************************************
3
 
 
4
 
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
5
 
 
6
 
                        All Rights Reserved
7
 
 
8
 
Permission to use, copy, modify, and distribute this software and its
9
 
documentation for any purpose and without fee is hereby granted,
10
 
provided that the above copyright notice appear in all copies and that
11
 
both that copyright notice and this permission notice appear in
12
 
supporting documentation, and that the name of the above listed
13
 
copyright holder(s) not be used in advertising or publicity pertaining
14
 
to distribution of the software without specific, written prior
15
 
permission.
16
 
 
17
 
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18
 
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
 
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20
 
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21
 
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22
 
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23
 
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
 
 
25
 
********************************************************/
26
 
 
27
 
/********************************************************************
28
 
 * Interface of 'exevents.c'
29
 
 */
30
 
 
31
 
#ifndef EXEVENTS_H
32
 
#define EXEVENTS_H
33
 
 
34
 
extern void RegisterOtherDevice (
35
 
        DeviceIntPtr           /* device */);
36
 
 
37
 
extern void ProcessOtherEvent (
38
 
        xEventPtr /* FIXME deviceKeyButtonPointer * xE */,
39
 
        DeviceIntPtr           /* other */,
40
 
        int                    /* count */);
41
 
 
42
 
extern int InitProximityClassDeviceStruct(
43
 
        DeviceIntPtr           /* dev */);
44
 
 
45
 
extern void InitValuatorAxisStruct(
46
 
        DeviceIntPtr           /* dev */,
47
 
        int                    /* axnum */,
48
 
        int                    /* minval */,
49
 
        int                    /* maxval */,
50
 
        int                    /* resolution */,
51
 
        int                    /* min_res */,
52
 
        int                    /* max_res */);
53
 
 
54
 
extern void DeviceFocusEvent(
55
 
        DeviceIntPtr           /* dev */,
56
 
        int                    /* type */,
57
 
        int                    /* mode */,
58
 
        int                    /* detail */,
59
 
        WindowPtr              /* pWin */);
60
 
 
61
 
extern int GrabButton(
62
 
        ClientPtr              /* client */,
63
 
        DeviceIntPtr           /* dev */,
64
 
        BYTE                   /* this_device_mode */,
65
 
        BYTE                   /* other_devices_mode */,
66
 
        CARD16                 /* modifiers */,
67
 
        DeviceIntPtr           /* modifier_device */,
68
 
        CARD8                  /* button */,
69
 
        Window                 /* grabWindow */,
70
 
        BOOL                   /* ownerEvents */,
71
 
        Cursor                 /* rcursor */,
72
 
        Window                 /* rconfineTo */,
73
 
        Mask                   /* eventMask */);
74
 
 
75
 
extern int GrabKey(
76
 
        ClientPtr              /* client */,
77
 
        DeviceIntPtr           /* dev */,
78
 
        BYTE                   /* this_device_mode */,
79
 
        BYTE                   /* other_devices_mode */,
80
 
        CARD16                 /* modifiers */,
81
 
        DeviceIntPtr           /* modifier_device */,
82
 
        CARD8                  /* key */,
83
 
        Window                 /* grabWindow */,
84
 
        BOOL                   /* ownerEvents */,
85
 
        Mask                   /* mask */);
86
 
 
87
 
extern int SelectForWindow(
88
 
        DeviceIntPtr           /* dev */,
89
 
        WindowPtr              /* pWin */,
90
 
        ClientPtr              /* client */,
91
 
        Mask                   /* mask */,
92
 
        Mask                   /* exclusivemasks */,
93
 
        Mask                   /* validmasks */);
94
 
 
95
 
extern int AddExtensionClient (
96
 
        WindowPtr              /* pWin */,
97
 
        ClientPtr              /* client */,
98
 
        Mask                   /* mask */,
99
 
        int                    /* mskidx */);
100
 
 
101
 
extern void RecalculateDeviceDeliverableEvents(
102
 
        WindowPtr              /* pWin */);
103
 
 
104
 
extern int InputClientGone(
105
 
        WindowPtr              /* pWin */,
106
 
        XID                    /* id */);
107
 
 
108
 
extern int SendEvent (
109
 
        ClientPtr              /* client */,
110
 
        DeviceIntPtr           /* d */,
111
 
        Window                 /* dest */,
112
 
        Bool                   /* propagate */,
113
 
        xEvent *               /* ev */,
114
 
        Mask                   /* mask */,
115
 
        int                    /* count */);
116
 
 
117
 
extern int SetButtonMapping (
118
 
        ClientPtr              /* client */,
119
 
        DeviceIntPtr           /* dev */,
120
 
        int                    /* nElts */,
121
 
        BYTE *                 /* map */);
122
 
 
123
 
extern int SetModifierMapping(
124
 
        ClientPtr              /* client */,
125
 
        DeviceIntPtr           /* dev */,
126
 
        int                    /* len */,
127
 
        int                    /* rlen */,
128
 
        int                    /* numKeyPerModifier */,
129
 
        KeyCode *              /* inputMap */,
130
 
        KeyClassPtr *          /* k */);
131
 
 
132
 
extern void SendDeviceMappingNotify(
133
 
        CARD8                  /* request, */,
134
 
        KeyCode                /* firstKeyCode */,
135
 
        CARD8                  /* count */,
136
 
        DeviceIntPtr           /* dev */);
137
 
 
138
 
extern int ChangeKeyMapping(
139
 
        ClientPtr              /* client */,
140
 
        DeviceIntPtr           /* dev */,
141
 
        unsigned               /* len */,
142
 
        int                    /* type */,
143
 
        KeyCode                /* firstKeyCode */,
144
 
        CARD8                  /* keyCodes */,
145
 
        CARD8                  /* keySymsPerKeyCode */,
146
 
        KeySym *               /* map */);
147
 
 
148
 
extern void DeleteWindowFromAnyExtEvents(
149
 
        WindowPtr              /* pWin */,
150
 
        Bool                   /* freeResources */);
151
 
 
152
 
extern void DeleteDeviceFromAnyExtEvents(
153
 
        WindowPtr              /* pWin */,
154
 
        DeviceIntPtr           /* dev */);
155
 
 
156
 
extern int MaybeSendDeviceMotionNotifyHint (
157
 
        deviceKeyButtonPointer * /* pEvents */,
158
 
        Mask                   /* mask */);
159
 
 
160
 
extern void CheckDeviceGrabAndHintWindow (
161
 
        WindowPtr              /* pWin */,
162
 
        int                    /* type */,
163
 
        deviceKeyButtonPointer * /* xE */,
164
 
        GrabPtr                /* grab */,
165
 
        ClientPtr              /* client */,
166
 
        Mask                   /* deliveryMask */);
167
 
 
168
 
extern Mask DeviceEventMaskForClient(
169
 
        DeviceIntPtr           /* dev */,
170
 
        WindowPtr              /* pWin */,
171
 
        ClientPtr              /* client */);
172
 
 
173
 
extern void MaybeStopDeviceHint(
174
 
        DeviceIntPtr           /* dev */,
175
 
        ClientPtr              /* client */);
176
 
 
177
 
extern int DeviceEventSuppressForWindow(
178
 
        WindowPtr              /* pWin */,
179
 
        ClientPtr              /* client */,
180
 
        Mask                   /* mask */,
181
 
        int                    /* maskndx */);
182
 
 
183
 
#endif /* EXEVENTS_H */