From 5d1bfca150e42ea8b99ed8721c3b3bd181b30834 Mon Sep 17 00:00:00 2001 From: IoIxD Date: Sun, 13 Sep 2026 15:06:34 -0700 Subject: [PATCH] only need to forcerender on parent when we do xy --- src/backend/wayland/wayland.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/wayland/wayland.c b/src/backend/wayland/wayland.c index 2a5a218..6154664 100644 --- a/src/backend/wayland/wayland.c +++ b/src/backend/wayland/wayland.c @@ -1083,10 +1083,8 @@ static void MwLLSetXYImpl(MwLL handle, int x, int y) { break; case MwLL_WAYLAND_SUBLEVEL: { - /* sublevels are drawn according to their own x/y */ - MwLL topmost_parent = handle; - while(topmost_parent->wayland.parent) topmost_parent = topmost_parent->wayland.parent; - MwLLForceRender(topmost_parent); + if(handle->wayland.parent) + MwLLForceRender(handle->wayland.parent); break; } case MwLL_WAYLAND_POPUP: