X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=Xserver%2Fprograms%2FXserver%2Finclude%2Fdixevents.h;fp=Xserver%2Fprograms%2FXserver%2Finclude%2Fdixevents.h;h=957091bad15f6474bb5b5608abac99445c0ae9f4;hp=0000000000000000000000000000000000000000;hb=b6e6afccf37f4ad0515ef2a698f714fdf1bf23b3;hpb=e3340a110a3b01756b8e67531395a33b40a17d37 diff --git a/Xserver/programs/Xserver/include/dixevents.h b/Xserver/programs/Xserver/include/dixevents.h new file mode 100644 index 0000000..957091b --- /dev/null +++ b/Xserver/programs/Xserver/include/dixevents.h @@ -0,0 +1,256 @@ +/* $XFree86: xc/programs/Xserver/include/dixevents.h,v 3.2 1996/12/24 02:27:27 dawes Exp $ */ +/************************************************************ + +Copyright 1996 by Thomas E. Dickey + + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of the above listed +copyright holder(s) not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. + +THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +********************************************************/ + +#ifndef DIXEVENTS_H +#define DIXEVENTS_H + +extern Mask +GetNextEventMask( +#if NeedFunctionPrototypes + void +#endif + ); + +extern void +SetCriticalEvent( +#if NeedFunctionPrototypes + int /* event */ +#endif + ); + +extern void +ConfineCursorToWindow( +#if NeedFunctionPrototypes + WindowPtr /* pWin */, + Bool /* generateEvents */, + Bool /* confineToScreen */ +#endif + ); + +extern CursorPtr +GetSpriteCursor( +#if NeedFunctionPrototypes + void +#endif + ); + +extern int +ProcAllowEvents( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +TryClientEvents ( +#if NeedFunctionPrototypes + ClientPtr /* client */, + xEvent * /* pEvents */, + int /* count */, + Mask /* mask */, + Mask /* filter */, + GrabPtr /* grab */ +#endif + ); + +extern int +MaybeDeliverEventsToClient( +#if NeedFunctionPrototypes + WindowPtr /* pWin */, + xEvent * /* pEvents */, + int /* count */, + Mask /* filter */, + ClientPtr /* dontClient */ +#endif + ); + +extern void +WindowsRestructured( +#if NeedFunctionPrototypes + void +#endif + ); + +extern void +NewCurrentScreen( +#if NeedFunctionPrototypes + ScreenPtr /* newScreen */, + int /* x */, + int /* y */ +#endif + ); + +extern int +ProcWarpPointer( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern void +#ifdef XKB +CoreProcessKeyboardEvent ( +#else +ProcessKeyboardEvent ( +#endif +#if NeedFunctionPrototypes + xEvent * /* xE */, + DeviceIntPtr /* keybd */, + int /* count */ +#endif + ); + +extern void +#ifdef XKB +CoreProcessPointerEvent ( +#else +ProcessPointerEvent ( +#endif +#if NeedFunctionPrototypes + xEvent * /* xE */, + DeviceIntPtr /* mouse */, + int /* count */ +#endif + ); + +extern int +EventSelectForWindow( +#if NeedFunctionPrototypes + WindowPtr /* pWin */, + ClientPtr /* client */, + Mask /* mask */ +#endif + ); + +extern int +EventSuppressForWindow( +#if NeedFunctionPrototypes + WindowPtr /* pWin */, + ClientPtr /* client */, + Mask /* mask */, + Bool * /* checkOptional */ +#endif + ); + +extern int +ProcSetInputFocus( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcGetInputFocus( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcGrabPointer( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcChangeActivePointerGrab( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcUngrabPointer( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcGrabKeyboard( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcUngrabKeyboard( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcQueryPointer( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcSendEvent( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcUngrabKey( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcGrabKey( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcGrabButton( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcUngrabButton( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +extern int +ProcRecolorCursor( +#if NeedFunctionPrototypes + ClientPtr /* client */ +#endif + ); + +#endif /* DIXEVENTS_H */