xref: /OK3568_Linux_fs/external/xserver/hw/xnest/Events.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2 
3 Copyright 1993 by Davor Matic
4 
5 Permission to use, copy, modify, distribute, and sell this software
6 and its documentation for any purpose is hereby granted without fee,
7 provided that the above copyright notice appear in all copies and that
8 both that copyright notice and this permission notice appear in
9 supporting documentation.  Davor Matic makes no representations about
10 the suitability of this software for any purpose.  It is provided "as
11 is" without express or implied warranty.
12 
13 */
14 
15 #ifndef XNESTEVENTS_H
16 #define XNESTEVENTS_H
17 
18 #include <X11/Xmd.h>
19 
20 #define ProcessedExpose (LASTEvent + 1)
21 
22 extern CARD32 lastEventTime;
23 
24 void SetTimeSinceLastInputEvent(void);
25 void xnestCollectExposures(void);
26 void xnestCollectEvents(void);
27 void xnestQueueKeyEvent(int type, unsigned int keycode);
28 
29 #endif                          /* XNESTEVENTS_H */
30