VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/dixevents.h

最後變更 在這個檔案是 32163,由 vboxsync 提交於 14 年 前

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.2 KB
 
1/************************************************************
2
3Copyright 1996 by Thomas E. Dickey <[email protected]>
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the name of the above listed
12copyright holder(s) not be used in advertising or publicity pertaining
13to distribution of the software without specific, written prior
14permission.
15
16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
24********************************************************/
25
26#ifndef DIXEVENTS_H
27#define DIXEVENTS_H
28
29extern _X_EXPORT void SetCriticalEvent(int /* event */);
30
31extern _X_EXPORT CursorPtr GetSpriteCursor(DeviceIntPtr /*pDev*/);
32
33extern _X_EXPORT int ProcAllowEvents(ClientPtr /* client */);
34
35extern _X_EXPORT int MaybeDeliverEventsToClient(
36 WindowPtr /* pWin */,
37 xEvent * /* pEvents */,
38 int /* count */,
39 Mask /* filter */,
40 ClientPtr /* dontClient */);
41
42extern _X_EXPORT int ProcWarpPointer(ClientPtr /* client */);
43
44extern _X_EXPORT int EventSelectForWindow(
45 WindowPtr /* pWin */,
46 ClientPtr /* client */,
47 Mask /* mask */);
48
49extern _X_EXPORT int EventSuppressForWindow(
50 WindowPtr /* pWin */,
51 ClientPtr /* client */,
52 Mask /* mask */,
53 Bool * /* checkOptional */);
54
55extern _X_EXPORT int ProcSetInputFocus(ClientPtr /* client */);
56
57extern _X_EXPORT int ProcGetInputFocus(ClientPtr /* client */);
58
59extern _X_EXPORT int ProcGrabPointer(ClientPtr /* client */);
60
61extern _X_EXPORT int ProcChangeActivePointerGrab(ClientPtr /* client */);
62
63extern _X_EXPORT int ProcUngrabPointer(ClientPtr /* client */);
64
65extern _X_EXPORT int ProcGrabKeyboard(ClientPtr /* client */);
66
67extern _X_EXPORT int ProcUngrabKeyboard(ClientPtr /* client */);
68
69extern _X_EXPORT int ProcQueryPointer(ClientPtr /* client */);
70
71extern _X_EXPORT int ProcSendEvent(ClientPtr /* client */);
72
73extern _X_EXPORT int ProcUngrabKey(ClientPtr /* client */);
74
75extern _X_EXPORT int ProcGrabKey(ClientPtr /* client */);
76
77extern _X_EXPORT int ProcGrabButton(ClientPtr /* client */);
78
79extern _X_EXPORT int ProcUngrabButton(ClientPtr /* client */);
80
81extern _X_EXPORT int ProcRecolorCursor(ClientPtr /* client */);
82
83#ifdef PANORAMIX
84extern _X_EXPORT void PostSyntheticMotion(DeviceIntPtr pDev,
85 int x,
86 int y,
87 int screen,
88 unsigned long time);
89#endif
90
91#endif /* DIXEVENTS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette