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;
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: