From bbc27d680a8cb359f10503895cd863b320aaf25b Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Wed, 10 Dec 2025 12:57:40 +0900 Subject: [PATCH] that is simply wrong --- src/backend/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/x11.c b/src/backend/x11.c index c21c5a1..353f6d7 100644 --- a/src/backend/x11.c +++ b/src/backend/x11.c @@ -1020,7 +1020,7 @@ static void MwLLGetCursorCoordImpl(MwLL handle, MwPoint* point) { static void MwLLGetScreenSizeImpl(MwLL handle, MwRect* rect) { XWindowAttributes xwa; - XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa); + XGetWindowAttributes(handle->x11.display, DefaultRootWindow(handle->x11.display), &xwa); rect->x = rect->y = 0; rect->width = xwa.width;