about summary refs log tree commit diff stats
path: root/src/wrapped32
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-10-18 16:44:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-10-18 16:44:47 +0200
commitb578487d01a5482c85fcd9cab7d45e2ccf510ade (patch)
treead6ed749dc2d4bb4a4223da591ef480014e61931 /src/wrapped32
parentcdf81eb1d7adb3faf8d0050798810742947e09af (diff)
downloadbox64-b578487d01a5482c85fcd9cab7d45e2ccf510ade.tar.gz
box64-b578487d01a5482c85fcd9cab7d45e2ccf510ade.zip
[BOX32] A few more fixes to libX11 wrapping
Diffstat (limited to 'src/wrapped32')
-rw-r--r--src/wrapped32/wrappedlibx11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedlibx11.c b/src/wrapped32/wrappedlibx11.c
index 003d47d2..436743dc 100644
--- a/src/wrapped32/wrappedlibx11.c
+++ b/src/wrapped32/wrappedlibx11.c
@@ -1937,7 +1937,7 @@ EXPORT int my32_XGetWindowAttributes(x64emu_t* emu, void* dpy, XID window, my_XW
     static my_Screen_32_t screen32 = {0};
     my_XWindowAttributes_t l_attr = {0};
     int ret = my->XGetWindowAttributes(dpy, window, &l_attr);
-    convert_XWindowAttributes_to_32(attr, &l_attr);
+    convert_XWindowAttributes_to_32(dpy, attr, &l_attr);
     attr->screen = to_ptrv(&screen32);
     convert_Screen_to_32(&screen32, l_attr.screen);
     return ret;