Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:31

0001 /*
0002  * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
0003  *
0004  * Permission is hereby granted, free of charge, to any person obtaining a
0005  * copy of this software and associated documentation files (the "Software"),
0006  * to deal in the Software without restriction, including without limitation
0007  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0008  * and/or sell copies of the Software, and to permit persons to whom the
0009  * Software is furnished to do so, subject to the following conditions:
0010  *
0011  * The above copyright notice and this permission notice (including the next
0012  * paragraph) shall be included in all copies or substantial portions of the
0013  * Software.
0014  *
0015  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0016  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0017  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0018  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0019  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0020  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0021  * DEALINGS IN THE SOFTWARE.
0022  */
0023 /*
0024  * Copyright © 2003 Keith Packard
0025  *
0026  * Permission to use, copy, modify, distribute, and sell this software and its
0027  * documentation for any purpose is hereby granted without fee, provided that
0028  * the above copyright notice appear in all copies and that both that
0029  * copyright notice and this permission notice appear in supporting
0030  * documentation, and that the name of Keith Packard not be used in
0031  * advertising or publicity pertaining to distribution of the software without
0032  * specific, written prior permission.  Keith Packard makes no
0033  * representations about the suitability of this software for any purpose.  It
0034  * is provided "as is" without express or implied warranty.
0035  *
0036  * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
0037  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
0038  * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
0039  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
0040  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
0041  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0042  * PERFORMANCE OF THIS SOFTWARE.
0043  */
0044 
0045 #ifndef _XCOMPOSITE_H_
0046 #define _XCOMPOSITE_H_
0047 
0048 #include <X11/extensions/composite.h>
0049 #include <X11/extensions/Xfixes.h>
0050 #include <X11/Xfuncproto.h>
0051 
0052 /*
0053  * This revision number also appears in configure.ac, they have
0054  * to be manually synchronized
0055  */
0056 #define XCOMPOSITE_MAJOR    COMPOSITE_MAJOR
0057 #define XCOMPOSITE_MINOR    COMPOSITE_MINOR
0058 #define XCOMPOSITE_REVISION 2
0059 #define XCOMPOSITE_VERSION  ((XCOMPOSITE_MAJOR * 10000) + (XCOMPOSITE_MINOR * 100) + (XCOMPOSITE_REVISION))
0060 
0061 _XFUNCPROTOBEGIN
0062 
0063 Bool XCompositeQueryExtension (Display *dpy,
0064                                int *event_base_return,
0065                                int *error_base_return);
0066 
0067 Status XCompositeQueryVersion (Display *dpy,
0068                                int     *major_version_return,
0069                                int     *minor_version_return);
0070 
0071 int XCompositeVersion (void);
0072 
0073 void
0074 XCompositeRedirectWindow (Display *dpy, Window window, int update);
0075 
0076 void
0077 XCompositeRedirectSubwindows (Display *dpy, Window window, int update);
0078 
0079 void
0080 XCompositeUnredirectWindow (Display *dpy, Window window, int update);
0081 
0082 void
0083 XCompositeUnredirectSubwindows (Display *dpy, Window window, int update);
0084 
0085 XserverRegion
0086 XCompositeCreateRegionFromBorderClip (Display *dpy, Window window);
0087 
0088 Pixmap
0089 XCompositeNameWindowPixmap (Display *dpy, Window window);
0090 
0091 Window
0092 XCompositeGetOverlayWindow (Display *dpy, Window window);
0093 
0094 void
0095 XCompositeReleaseOverlayWindow (Display *dpy, Window window);
0096 
0097 _XFUNCPROTOEND
0098 
0099 #endif /* _XCOMPOSITE_H_ */