doublebuffered wayland #38

Merged
IoI_xD merged 6 commits from doublebuffered into master 2026-09-14 07:09:45 +09:00
Showing only changes of commit 5d1bfca150 - Show all commits

only need to forcerender on parent when we do xy

IoIxD 2026-09-13 15:06:34 -07:00

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: