| 1 |
/* |
| 2 |
* $Id: composite.h,v 1.2 2004/07/31 06:16:50 anholt Exp $ |
| 3 |
* |
| 4 |
* Copyright © 2003 Keith Packard |
| 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 Keith Packard not be used in |
| 11 |
* advertising or publicity pertaining to distribution of the software without |
| 12 |
* specific, written prior permission. Keith Packard 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 |
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 17 |
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 18 |
* EVENT SHALL KEITH PACKARD 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 |
|
| 25 |
#ifndef _COMPOSITE_H_ |
| 26 |
#define _COMPOSITE_H_ |
| 27 |
|
| 28 |
#include <nx-X11/extensions/xfixeswire.h> |
| 29 |
|
| 30 |
#define COMPOSITE_NAME "Composite" |
| 31 |
#define COMPOSITE_MAJOR 0 |
| 32 |
#define COMPOSITE_MINOR 4 |
| 33 |
|
| 34 |
#define CompositeRedirectAutomatic 0 |
| 35 |
#define CompositeRedirectManual 1 |
| 36 |
|
| 37 |
#define X_CompositeQueryVersion 0 |
| 38 |
#define X_CompositeRedirectWindow 1 |
| 39 |
#define X_CompositeRedirectSubwindows 2 |
| 40 |
#define X_CompositeUnredirectWindow 3 |
| 41 |
#define X_CompositeUnredirectSubwindows 4 |
| 42 |
#define X_CompositeCreateRegionFromBorderClip 5 |
| 43 |
#define X_CompositeNameWindowPixmap 6 |
| 44 |
#define X_CompositeGetOverlayWindow 7 |
| 45 |
#define X_CompositeReleaseOverlayWindow 8 |
| 46 |
|
| 47 |
#define CompositeNumberRequests (X_CompositeReleaseOverlayWindow + 1) |
| 48 |
|
| 49 |
#define CompositeNumberEvents 0 |
| 50 |
|
| 51 |
#endif /* _COMPOSITE_H_ */ |