Don't recreate the decoration on release window
When a window is going to be closed there is no need to recreate the window decoration from finishCompositing. REVIEW: 104759
This commit is contained in:
parent
e3f2dd7612
commit
de5003299b
1 changed files with 4 additions and 1 deletions
|
@ -892,7 +892,10 @@ void Client::finishCompositing()
|
||||||
{
|
{
|
||||||
Toplevel::finishCompositing();
|
Toplevel::finishCompositing();
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
updateDecoration(true, true);
|
if (!deleting) {
|
||||||
|
// only recreate the decoration if we are not shutting down completely
|
||||||
|
updateDecoration(true, true);
|
||||||
|
}
|
||||||
// for safety in case KWin is just resizing the window
|
// for safety in case KWin is just resizing the window
|
||||||
s_haveResizeEffect = false;
|
s_haveResizeEffect = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue