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;
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue