mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
42d20f9dca
Moved all ttydrv source files to dlls/ttydrv. Load functions pointer for the USER driver from the graphics driver dll with GetProcAddress.
36 lines
679 B
C
36 lines
679 B
C
/*
|
|
* X events handling functions
|
|
*
|
|
* Copyright 1993 Alexandre Julliard
|
|
*
|
|
*/
|
|
|
|
#include "message.h"
|
|
#include "user.h"
|
|
#include "win.h"
|
|
#include "debugtools.h"
|
|
|
|
DECLARE_DEBUG_CHANNEL(event);
|
|
|
|
/***********************************************************************
|
|
* EVENT_Synchronize
|
|
*
|
|
* Synchronize with the X server. Should not be used too often.
|
|
*/
|
|
void EVENT_Synchronize( void )
|
|
{
|
|
int iWndsLocks = WIN_SuspendWndsLock();
|
|
USER_Driver.pSynchronize();
|
|
WIN_RestoreWndsLock(iWndsLocks);
|
|
}
|
|
|
|
/**********************************************************************
|
|
* EVENT_CheckFocus
|
|
*/
|
|
BOOL EVENT_CheckFocus(void)
|
|
{
|
|
return USER_Driver.pCheckFocus();
|
|
}
|
|
|
|
|
|
|