2 * X events handling functions
4 * Copyright 1993 Alexandre Julliard
9 #include "debugtools.h"
11 DECLARE_DEBUG_CHANNEL(event
)
13 /**********************************************************************/
15 EVENT_DRIVER
*EVENT_Driver
= NULL
;
17 /***********************************************************************
20 * Initialize input event handling
24 return EVENT_Driver
->pInit();
27 /***********************************************************************
30 * Synchronize with the X server. Should not be used too often.
32 void EVENT_Synchronize( void )
34 EVENT_Driver
->pSynchronize();
37 /**********************************************************************
40 BOOL
EVENT_CheckFocus(void)
42 return EVENT_Driver
->pCheckFocus();
45 /***********************************************************************
48 BOOL
EVENT_QueryPointer(DWORD
*posX
, DWORD
*posY
, DWORD
*state
)
50 return EVENT_Driver
->pQueryPointer(posX
, posY
, state
);