Removed DummyMotionNotify EVENT driver routine.
[wine] / windows / event.c
1 /*
2  * X events handling functions
3  * 
4  * Copyright 1993 Alexandre Julliard
5  * 
6  */
7
8 #include "message.h"
9 #include "debugtools.h"
10
11 DECLARE_DEBUG_CHANNEL(event)
12
13 /**********************************************************************/
14
15 EVENT_DRIVER *EVENT_Driver = NULL;
16
17 /***********************************************************************
18  *              EVENT_Init
19  *
20  * Initialize input event handling
21  */
22 BOOL EVENT_Init(void)
23 {
24     return EVENT_Driver->pInit();
25 }
26
27 /***********************************************************************
28  *              EVENT_Synchronize
29  *
30  * Synchronize with the X server. Should not be used too often.
31  */
32 void EVENT_Synchronize( BOOL bProcessEvents )
33 {
34     EVENT_Driver->pSynchronize( bProcessEvents );
35 }
36
37 /**********************************************************************
38  *              EVENT_CheckFocus
39  */
40 BOOL EVENT_CheckFocus(void)
41 {
42   return EVENT_Driver->pCheckFocus();
43 }
44
45 /***********************************************************************
46  *              EVENT_QueryPointer
47  */
48 BOOL EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state)
49 {
50   return EVENT_Driver->pQueryPointer(posX, posY, state);
51 }
52
53