Don't change maximise mode of windows when resetting
svn path=/trunk/kdebase/kwin/; revision=79285
This commit is contained in:
parent
2962a95929
commit
5198b0b270
1 changed files with 2 additions and 0 deletions
|
@ -2814,6 +2814,7 @@ void Workspace::slotResetAllClients()
|
|||
Client* prev = 0;
|
||||
for (ClientList::Iterator it = stack.fromLast(); it != stack.end(); --it) {
|
||||
Client *oldClient = (*it);
|
||||
Client::MaximizeMode oldMaxMode = oldClient->maximizeMode();
|
||||
oldClient->hide();
|
||||
WId w = oldClient->window();
|
||||
XUnmapWindow( qt_xdisplay(), w );
|
||||
|
@ -2839,6 +2840,7 @@ void Workspace::slotResetAllClients()
|
|||
}
|
||||
if ( showIt )
|
||||
newClient->show();
|
||||
newClient->maximize(oldMaxMode);
|
||||
prev = newClient;
|
||||
}
|
||||
block_focus = FALSE;
|
||||
|
|
Loading…
Reference in a new issue