From b578487d01a5482c85fcd9cab7d45e2ccf510ade Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 18 Oct 2024 16:44:47 +0200 Subject: [BOX32] A few more fixes to libX11 wrapping --- src/wrapped32/wrappedlibx11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wrapped32') 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; -- cgit 1.4.1