Set a default size for windows when CW_USEDEFAULT is used.
[wine.git] / windows / event.c
blob37dd5b925c47e3c2c9b53f198d4505f779736aaa
1 /*
2 * X events handling functions
3 *
4 * Copyright 1993 Alexandre Julliard
5 *
6 */
8 #include "message.h"
9 #include "user.h"
10 #include "win.h"
11 #include "debugtools.h"
13 DECLARE_DEBUG_CHANNEL(event);
15 /***********************************************************************
16 * EVENT_Synchronize
18 * Synchronize with the X server. Should not be used too often.
20 void EVENT_Synchronize( void )
22 int iWndsLocks = WIN_SuspendWndsLock();
23 USER_Driver->pSynchronize();
24 WIN_RestoreWndsLock(iWndsLocks);
27 /**********************************************************************
28 * EVENT_CheckFocus
30 BOOL EVENT_CheckFocus(void)
32 return USER_Driver->pCheckFocus();