Don't change maximise mode of windows when resetting

svn path=/trunk/kdebase/kwin/; revision=79285
icc-effect-5.14.5
Rik Hemsley 2001-01-20 21:03:12 +00:00
parent 2962a95929
commit 5198b0b270
1 changed files with 2 additions and 0 deletions

View File

@ -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;