b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* $XFree86$ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Copyright (c) 1995 X Consortium
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Copyright 2004 Red Hat Inc., Durham, North Carolina.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * All Rights Reserved.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Permission is hereby granted, free of charge, to any person obtaining
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * a copy of this software and associated documentation files (the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * "Software"), to deal in the Software without restriction, including
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * without limitation on the rights to use, copy, modify, merge,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * and to permit persons to whom the Software is furnished to do so,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * subject to the following conditions:
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * The above copyright notice and this permission notice shall be
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * included in all copies or substantial portions of the Software.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * OTHER DEALINGS IN THE SOFTWARE.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Except as contained in this notice, the name of the X Consortium
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * shall not be used in advertising or otherwise to promote the sale,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * use or other dealings in this Software without prior written
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * authorization from the X Consortium.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/** \file
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * This file includes all client-side include files with proper wrapping.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef _DMXCLIENT_H_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define _DMXCLIENT_H_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define GC XlibGC
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef _XSERVER64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define DMX64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef _XSERVER64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef unsigned long XID64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef unsigned long Mask64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef unsigned long Atom64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef unsigned long VisualID64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef unsigned long Time64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define XID XID64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Mask Mask64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Atom Atom64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define VisualID VisualID64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Time Time64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Window64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Drawable64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Font64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Pixmap64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Cursor64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID Colormap64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID GContext64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef XID KeySym64;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Window Window64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Drawable Drawable64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Font Font64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Pixmap Pixmap64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Cursor Cursor64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Colormap Colormap64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define GContext GContext64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define KeySym KeySym64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xlib.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xlibint.h> /* For _XExtension */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/X.h> /* from glxserver.h */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xmd.h> /* from glxserver.h */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xproto.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xutil.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xatom.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/cursorfont.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/Xmu/SysUtil.h> /* For XmuSnprintf */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef SHAPE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/shape.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef RENDER
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/Xrender.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef PictFormatType
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef XKB
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XKB.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XKBstr.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef XINPUT
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XI.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* Always include these, since we query them even if we don't export XINPUT. */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XInput.h> /* For XDevice */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/Xext.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef GC
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef DMX64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define _XSERVER64
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef XID
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Mask
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Atom
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef VisualID
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Time
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Window
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Drawable
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Font
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Pixmap
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Cursor
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef Colormap
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef GContext
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef KeySym
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* These are in exglobals.h, but that conflicts with X11/extensions/XKBsrv.h */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int ProximityIn;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int ProximityOut;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceValuator;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceMotionNotify;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceFocusIn;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceFocusOut;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceStateNotify;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int DeviceMappingNotify;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern int ChangeDeviceNotify;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* Some protocol gets included last, after undefines. */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/XKBlib.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef XKB
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XKBproto.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef XKB_IN_SERVER
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define XKB_IN_SERVER
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XKBsrv.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#undef XPointer
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <X11/extensions/XIproto.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif