only need to forcerender on parent when we do xy
This commit is contained in:
parent
afd10c7c69
commit
5d1bfca150
1 changed files with 2 additions and 4 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue