diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/wrappedlibx11.c | 2 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibx11_private.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibx11.c b/src/wrapped/wrappedlibx11.c index 9f3880e7..a7eecd83 100644 --- a/src/wrapped/wrappedlibx11.c +++ b/src/wrapped/wrappedlibx11.c @@ -1665,6 +1665,8 @@ EXPORT void* my__XGetRequest(x64emu_t* emu, my_XDisplay_t* dpy, int type, size_t } #define CUSTOM_INIT \ + AddAutomaticBridge(lib->w.bridge, vFp, *(void**)dlsym(lib->w.lib, "_XLockMutex_fn"), 0, "_XLockMutex_fn"); \ + AddAutomaticBridge(lib->w.bridge, vFp, *(void**)dlsym(lib->w.lib, "_XUnlockMutex_fn"), 0, "_XUnlockMutex_fn"); \ if(box64_x11threads) my->XInitThreads(); #ifdef ANDROID diff --git a/src/wrapped/wrappedlibx11_private.h b/src/wrapped/wrappedlibx11_private.h index 9cf69529..0e945e11 100644 --- a/src/wrapped/wrappedlibx11_private.h +++ b/src/wrapped/wrappedlibx11_private.h @@ -1054,7 +1054,7 @@ GO(Xutf8TextPropertyToTextList, iFpppp) //GO(_Xutf8TextPropertyToTextList, GOM(XVaCreateNestedList, pFEiV) GO(XVendorRelease, iFp) -//GO(_XVIDtoVisual, +GO(_XVIDtoVisual, pFpp) GO(XVisualIDFromVisual, LFp) GO(XWarpPointer, iFpLLiiuuii) GO(XwcDrawImageString, vFpLppiipi) |