enforce update on re-redirection
REVIEW: 125039 BUG: 342881 FIXED-IN: 5.5
This commit is contained in:
parent
cb1005120a
commit
d04645266c
1 changed files with 6 additions and 3 deletions
|
@ -868,8 +868,10 @@ void Compositor::delayedCheckUnredirect()
|
||||||
foreach (Unmanaged * c, Workspace::self()->unmanagedList())
|
foreach (Unmanaged * c, Workspace::self()->unmanagedList())
|
||||||
list.append(c);
|
list.append(c);
|
||||||
foreach (Toplevel * c, list) {
|
foreach (Toplevel * c, list) {
|
||||||
if (c->updateUnredirectedState())
|
if (c->updateUnredirectedState()) {
|
||||||
changed = true;
|
changed = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// no desktops, no Deleted ones
|
// no desktops, no Deleted ones
|
||||||
if (!changed)
|
if (!changed)
|
||||||
|
@ -884,6 +886,7 @@ void Compositor::delayedCheckUnredirect()
|
||||||
reg -= c->geometry();
|
reg -= c->geometry();
|
||||||
}
|
}
|
||||||
m_scene->overlayWindow()->setShape(reg);
|
m_scene->overlayWindow()->setShape(reg);
|
||||||
|
addRepaint(reg);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Compositor::checkForOverlayWindow(WId w) const
|
bool Compositor::checkForOverlayWindow(WId w) const
|
||||||
|
|
Loading…
Reference in a new issue