VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/libXcomposite-0.4.0/X11/extensions/Xcomposite.h@ 22633

Last change on this file since 22633 was 17563, checked in by vboxsync, 16 years ago

Additions/x11: added header files for the X Damage and X Composite extensions

  • Property svn:eol-style set to native
File size: 3.6 KB
Line 
1/*
2 * $Id$
3 *
4 * Copyright © 2006 Sun Microsystems
5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Sun Microsystems not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Sun Microsystems makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
15 *
16 * SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
23 *
24 * Copyright © 2003 Keith Packard
25 *
26 * Permission to use, copy, modify, distribute, and sell this software and its
27 * documentation for any purpose is hereby granted without fee, provided that
28 * the above copyright notice appear in all copies and that both that
29 * copyright notice and this permission notice appear in supporting
30 * documentation, and that the name of Keith Packard not be used in
31 * advertising or publicity pertaining to distribution of the software without
32 * specific, written prior permission. Keith Packard makes no
33 * representations about the suitability of this software for any purpose. It
34 * is provided "as is" without express or implied warranty.
35 *
36 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
37 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
38 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
39 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
40 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
41 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
42 * PERFORMANCE OF THIS SOFTWARE.
43 */
44
45#ifndef _XCOMPOSITE_H_
46#define _XCOMPOSITE_H_
47
48#include <X11/extensions/composite.h>
49#include <X11/extensions/Xfixes.h>
50#include <X11/Xfuncproto.h>
51
52/*
53 * This revision number also appears in configure.ac, they have
54 * to be manually synchronized
55 */
56#define XCOMPOSITE_MAJOR COMPOSITE_MAJOR
57#define XCOMPOSITE_MINOR COMPOSITE_MINOR
58#define XCOMPOSITE_REVISION 2
59#define XCOMPOSITE_VERSION ((XCOMPOSITE_MAJOR * 10000) + (XCOMPOSITE_MINOR * 100) + (XCOMPOSITE_REVISION))
60
61_XFUNCPROTOBEGIN
62
63Bool XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep);
64
65Status XCompositeQueryVersion (Display *dpy,
66 int *major_versionp,
67 int *minor_versionp);
68
69int XCompositeVersion (void);
70
71void
72XCompositeRedirectWindow (Display *dpy, Window window, int update);
73
74void
75XCompositeRedirectSubwindows (Display *dpy, Window window, int update);
76
77void
78XCompositeUnredirectWindow (Display *dpy, Window window, int update);
79
80void
81XCompositeUnredirectSubwindows (Display *dpy, Window window, int update);
82
83XserverRegion
84XCompositeCreateRegionFromBorderClip (Display *dpy, Window window);
85
86Pixmap
87XCompositeNameWindowPixmap (Display *dpy, Window window);
88
89Window
90XCompositeGetOverlayWindow (Display *dpy, Window window);
91
92void
93XCompositeReleaseOverlayWindow (Display *dpy, Window window);
94
95_XFUNCPROTOEND
96
97#endif /* _XCOMPOSITE_H_ */
Note: See TracBrowser for help on using the repository browser.

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