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