VirtualBox

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

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.0 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 DIXGRABS_H
27#define DIXGRABS_H 1
28
29struct _GrabParameters;
30
31extern GrabPtr CreateGrab(
32 int /* client */,
33 DeviceIntPtr /* device */,
34 DeviceIntPtr /* modDevice */,
35 WindowPtr /* window */,
36 GrabType /* grabtype */,
37 GrabMask * /* mask */,
38 struct _GrabParameters * /* param */,
39 int /* type */,
40 KeyCode /* keybut */,
41 WindowPtr /* confineTo */,
42 CursorPtr /* cursor */);
43
44extern _X_EXPORT int DeletePassiveGrab(
45 pointer /* value */,
46 XID /* id */);
47
48extern _X_EXPORT Bool GrabMatchesSecond(
49 GrabPtr /* pFirstGrab */,
50 GrabPtr /* pSecondGrab */,
51 Bool /*ignoreDevice*/);
52
53extern _X_EXPORT int AddPassiveGrabToList(
54 ClientPtr /* client */,
55 GrabPtr /* pGrab */);
56
57extern _X_EXPORT Bool DeletePassiveGrabFromList(
58 GrabPtr /* pMinuendGrab */);
59
60#endif /* DIXGRABS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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