From 5198b0b270becd5cd2e98a442659781def167166 Mon Sep 17 00:00:00 2001 From: Rik Hemsley Date: Sat, 20 Jan 2001 21:03:12 +0000 Subject: [PATCH] Don't change maximise mode of windows when resetting svn path=/trunk/kdebase/kwin/; revision=79285 --- workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index 45b5ba26c0..d6c6dc7d22 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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;