Commit 9980868b authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Get rid of the X11 locking functions.

parent 3bd185c3
......@@ -61,10 +61,6 @@
@ cdecl LoadTabletInfo(long) X11DRV_LoadTabletInfo
@ cdecl WTInfoW(long long ptr) X11DRV_WTInfoW
# X11 locks
@ cdecl -norelay wine_tsx11_lock()
@ cdecl -norelay wine_tsx11_unlock()
# Desktop
@ cdecl wine_create_desktop(long long) X11DRV_create_desktop
......
......@@ -63,9 +63,6 @@ typedef int Status;
#define WINE_XDND_VERSION 4
extern void CDECL wine_tsx11_lock(void);
extern void CDECL wine_tsx11_unlock(void);
/* X physical pen */
typedef struct
{
......
......@@ -56,15 +56,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(x11drv);
WINE_DECLARE_DEBUG_CHANNEL(synchronous);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
static CRITICAL_SECTION X11DRV_CritSection;
static CRITICAL_SECTION_DEBUG critsect_debug =
{
0, 0, &X11DRV_CritSection,
{ &critsect_debug.ProcessLocksList, &critsect_debug.ProcessLocksList },
0, 0, { (DWORD_PTR)(__FILE__ ": X11DRV_CritSection") }
};
static CRITICAL_SECTION X11DRV_CritSection = { &critsect_debug, -1, 0, 0, 0, 0 };
static Screen *screen;
Visual *visual;
XPixmapFormatValues **pixmap_formats;
......@@ -300,23 +291,6 @@ static int error_handler( Display *display, XErrorEvent *error_evt )
}
/***********************************************************************
* wine_tsx11_lock (X11DRV.@)
*/
void CDECL wine_tsx11_lock(void)
{
EnterCriticalSection( &X11DRV_CritSection );
}
/***********************************************************************
* wine_tsx11_unlock (X11DRV.@)
*/
void CDECL wine_tsx11_unlock(void)
{
LeaveCriticalSection( &X11DRV_CritSection );
}
/***********************************************************************
* init_pixmap_formats
*/
static void init_pixmap_formats( Display *display )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment