Do not let KWin close just because all open windows have been closed.

svn path=/trunk/KDE/kdebase/workspace/; revision=977968
This commit is contained in:
Michael Pyne 2009-06-05 18:47:01 +00:00
parent 49683ff02a
commit a97146ccda

View file

@ -248,6 +248,7 @@ Application::Application()
XSynchronize( display(), True );
kDebug( 1212 ) << "Running KWin in sync mode";
}
setQuitOnLastWindowClosed( false );
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
KSharedConfig::Ptr config = KGlobal::config();
if( !config->isImmutable() && args->isSet( "lock" ))