VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/dixgrabs.h@ 97956

最後變更 在這個檔案從97956是 69098,由 vboxsync 提交於 7 年 前

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.1 KB
 
1/* $XFree86: xc/programs/Xserver/include/dixgrabs.h,v 3.0 1996/04/15 11:34:27 dawes Exp $ */
2/************************************************************
3
4Copyright 1996 by Thomas E. Dickey <[email protected]>
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that the name of the above listed
13copyright holder(s) not be used in advertising or publicity pertaining
14to distribution of the software without specific, written prior
15permission.
16
17THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25********************************************************/
26
27#ifndef DIXGRABS_H
28#define DIXGRABS_H 1
29
30GrabPtr
31CreateGrab(
32#if NeedFunctionPrototypes
33 int /* client */,
34 DeviceIntPtr /* device */,
35 WindowPtr /* window */,
36 Mask /* eventMask */,
37 Bool /* ownerEvents */,
38 Bool /* keyboardMode */,
39 Bool /* pointerMode */,
40 DeviceIntPtr /* modDevice */,
41 unsigned short /* modifiers */,
42 int /* type */,
43 KeyCode /* keybut */,
44 WindowPtr /* confineTo */,
45 CursorPtr /* cursor */
46#endif
47 );
48
49int
50DeletePassiveGrab(
51#if NeedFunctionPrototypes
52 pointer /* value */,
53 XID /* id */
54#endif
55 );
56
57Bool
58GrabMatchesSecond(
59#if NeedFunctionPrototypes
60 GrabPtr /* pFirstGrab */,
61 GrabPtr /* pSecondGrab */
62#endif
63 );
64
65int
66AddPassiveGrabToList(
67#if NeedFunctionPrototypes
68 GrabPtr /* pGrab */
69#endif
70 );
71
72Bool
73DeletePassiveGrabFromList(
74#if NeedFunctionPrototypes
75 GrabPtr /* pMinuendGrab */
76#endif
77 );
78
79#endif /* DIXGRABS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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