From ae4ae842d5cb2abc80af96eb7c9bc61b8c584bb6 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Fri, 21 Nov 2025 17:43:16 +0000 Subject: [PATCH] not sure if this fixes git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@768 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/backend/x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/x11.c b/src/backend/x11.c index 49afe5e..55faee9 100644 --- a/src/backend/x11.c +++ b/src/backend/x11.c @@ -78,6 +78,7 @@ static void wait_map(MwLL handle, int sync) { XSync(handle->x11.display, False); XMapWindow(handle->x11.display, handle->x11.window); + XSync(handle->x11.display, False); if(!sync) return; do { @@ -95,6 +96,7 @@ static void wait_unmap(MwLL handle, int sync) { XSync(handle->x11.display, False); XUnmapWindow(handle->x11.display, handle->x11.window); + XSync(handle->x11.display, False); if(!sync) return; do {