When releasing a window, hide it before removing decoration, otherwise
it would be moved, causing ugly visual effect. svn path=/trunk/kdebase/kwin/; revision=269901
This commit is contained in:
parent
8f181d8b52
commit
358e648501
1 changed files with 4 additions and 1 deletions
|
@ -171,9 +171,12 @@ void Client::releaseWindow( bool on_shutdown )
|
|||
if (moveResizeMode)
|
||||
leaveMoveResize();
|
||||
setModal( false ); // otherwise its mainwindow wouldn't get focus
|
||||
hidden = true; // so that it's not considered visible anymore
|
||||
hidden = true; // so that it's not considered visible anymore (can't use hideClient(), it would set flags)
|
||||
if( !on_shutdown )
|
||||
{
|
||||
workspace()->clientHidden( this );
|
||||
XUnmapWindow( qt_xdisplay(), window()); // destroying decoration would cause ugly visual effect
|
||||
}
|
||||
destroyDecoration();
|
||||
cleanGrouping();
|
||||
if( !on_shutdown )
|
||||
|
|
Loading…
Reference in a new issue