about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibxrandr.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-12-13 15:24:03 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-12-13 15:24:11 +0100
commitfa3db3df11f0d10a4a46f5ec5b0aaeaf34656d72 (patch)
tree74dacd24ef44f155a2b6f0ab517bfe25c2e48dc2 /src/wrapped32/wrappedlibxrandr.c
parent4b4c0143d951b6aa18e2102136b4b72e165459d4 (diff)
downloadbox64-fa3db3df11f0d10a4a46f5ec5b0aaeaf34656d72.tar.gz
box64-fa3db3df11f0d10a4a46f5ec5b0aaeaf34656d72.zip
[BOX32][WRAPPER] Added a arge batch of 32bits wrapped function to X11 and friends
Diffstat (limited to 'src/wrapped32/wrappedlibxrandr.c')
-rw-r--r--src/wrapped32/wrappedlibxrandr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wrapped32/wrappedlibxrandr.c b/src/wrapped32/wrappedlibxrandr.c
index 802d22f3..80079554 100644
--- a/src/wrapped32/wrappedlibxrandr.c
+++ b/src/wrapped32/wrappedlibxrandr.c
@@ -159,6 +159,13 @@ EXPORT int my32_XRRQueryExtension(x64emu_t* emu, void* dpy, int* event_base, int
     return ret;
 }
 
+EXPORT int my32_XRRUpdateConfiguration(x64emu_t* emu, my_XEvent_32_t* evt)
+{
+    my_XEvent_t evt_l = {0};
+    unconvertXEvent(&evt_l, evt);
+    return my->XRRUpdateConfiguration(&evt_l);
+}
+
 #ifdef ANDROID
 #define NEEDED_LIBS "libX11.so", "libXext.so", "libXrender.so"
 #else