mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
XQuartz: Adopt input_lock() and input_unlock()
This allows us to remove darwinEvents_lock() and darwinEvents_unlock() and remove the serverRunning hack from dix Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
@@ -83,26 +83,10 @@ LegalModifier(unsigned int key, DeviceIntPtr pDev)
|
||||
}
|
||||
|
||||
#ifdef XQUARTZ
|
||||
#include <pthread.h>
|
||||
|
||||
BOOL serverRunning = TRUE;
|
||||
pthread_mutex_t serverRunningMutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_cond_t serverRunningCond = PTHREAD_COND_INITIALIZER;
|
||||
|
||||
int darwinMainScreenX = 0;
|
||||
int darwinMainScreenY = 0;
|
||||
|
||||
BOOL no_configure_window = FALSE;
|
||||
|
||||
void
|
||||
darwinEvents_lock(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
darwinEvents_unlock(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DDXBEFORERESET
|
||||
|
||||
Reference in New Issue
Block a user