Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
[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 "user.h"
10 #include "win.h"
11 #include "debugtools.h"
12
13 DECLARE_DEBUG_CHANNEL(event);
14
15 /***********************************************************************
16  *              EVENT_Synchronize
17  *
18  * Synchronize with the X server. Should not be used too often.
19  */
20 void EVENT_Synchronize( void )
21 {
22     int iWndsLocks = WIN_SuspendWndsLock();
23     USER_Driver.pSynchronize();
24     WIN_RestoreWndsLock(iWndsLocks);
25 }
26
27 /**********************************************************************
28  *              EVENT_CheckFocus
29  */
30 BOOL EVENT_CheckFocus(void)
31 {
32   return USER_Driver.pCheckFocus();
33 }
34
35
36