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 DIXGRABS_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DIXGRABS_H 1
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncstruct _GrabParameters;
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern GrabPtr CreateGrab(
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* client */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* device */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* modDevice */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* window */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabType /* grabtype */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabMask * /* mask */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct _GrabParameters * /* param */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* type */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync KeyCode /* keybut */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* confineTo */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync CursorPtr /* cursor */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int DeletePassiveGrab(
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /* value */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID /* id */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool GrabMatchesSecond(
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabPtr /* pFirstGrab */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabPtr /* pSecondGrab */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*ignoreDevice*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int AddPassiveGrabToList(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /* client */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabPtr /* pGrab */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool DeletePassiveGrabFromList(
45e9809aff7304721fddb95654901b32195c9c7avboxsync GrabPtr /* pMinuendGrab */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* DIXGRABS_H */