diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec index 038c3e47d5e..5b64dd76c75 100644 --- a/dlls/winex11.drv/winex11.drv.spec +++ b/dlls/winex11.drv/winex11.drv.spec @@ -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 diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 3aaedef06d5..8566cd2cb11 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -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 { diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c index f3c9d3fa296..0f9471653de 100644 --- a/dlls/winex11.drv/x11drv_main.c +++ b/dlls/winex11.drv/x11drv_main.c @@ -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; @@ -299,23 +290,6 @@ static int error_handler( Display *display, XErrorEvent *error_evt ) return 0; } -/*********************************************************************** - * 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 */