Fixed OleLoadFromStream: Dereference ppvObj and get IPersistStream
[wine.git] / windows / event.c
blobda5041e618f755070c5a26e71553cc8a25f8fd8b
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();