only need to forcerender on parent when we do xy

This commit is contained in:
IoIxD 2026-09-13 15:06:34 -07:00
commit 5d1bfca150

View file

@ -1083,10 +1083,8 @@ static void MwLLSetXYImpl(MwLL handle, int x, int y) {
break; break;
case MwLL_WAYLAND_SUBLEVEL: case MwLL_WAYLAND_SUBLEVEL:
{ {
/* sublevels are drawn according to their own x/y */ if(handle->wayland.parent)
MwLL topmost_parent = handle; MwLLForceRender(handle->wayland.parent);
while(topmost_parent->wayland.parent) topmost_parent = topmost_parent->wayland.parent;
MwLLForceRender(topmost_parent);
break; break;
} }
case MwLL_WAYLAND_POPUP: case MwLL_WAYLAND_POPUP: