45e9809aff7304721fddb95654901b32195c9c7avboxsync/************************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync All Rights Reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, and distribute this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose and without fee is hereby granted,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncprovided that the above copyright notice appear in all copies and that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncboth that copyright notice and this permission notice appear in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsupporting documentation, and that the name of the above listed
45e9809aff7304721fddb95654901b32195c9c7avboxsynccopyright holder(s) not be used in advertising or publicity pertaining
45e9809aff7304721fddb95654901b32195c9c7avboxsyncto distribution of the software without specific, written prior
45e9809aff7304721fddb95654901b32195c9c7avboxsyncpermission.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
45e9809aff7304721fddb95654901b32195c9c7avboxsyncWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync********************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef DIXEVENTS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DIXEVENTS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void SetCriticalEvent(int /* event */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern CursorPtr GetSpriteCursor(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcAllowEvents(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int MaybeDeliverEventsToClient(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xEvent * /* pEvents */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /* filter */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /* dontClient */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcWarpPointer(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#if 0
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef XKB
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCoreProcessKeyboardEvent (
45e9809aff7304721fddb95654901b32195c9c7avboxsync#else
45e9809aff7304721fddb95654901b32195c9c7avboxsyncProcessKeyboardEvent (
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync xEvent * /* xE */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* keybd */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef XKB
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCoreProcessPointerEvent (
45e9809aff7304721fddb95654901b32195c9c7avboxsync#else
45e9809aff7304721fddb95654901b32195c9c7avboxsyncProcessPointerEvent (
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync xEvent * /* xE */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* mouse */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int EventSelectForWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /* client */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /* mask */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int EventSuppressForWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /* client */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /* mask */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool * /* checkOptional */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcSetInputFocus(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcGetInputFocus(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcGrabPointer(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcChangeActivePointerGrab(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcUngrabPointer(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcGrabKeyboard(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcUngrabKeyboard(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcQueryPointer(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcSendEvent(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcUngrabKey(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcGrabKey(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcGrabButton(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcUngrabButton(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int ProcRecolorCursor(ClientPtr /* client */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef PANORAMIX
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void PostSyntheticMotion(int x, int y, int screen, unsigned long time);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* DIXEVENTS_H */