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:
parent
49683ff02a
commit
a97146ccda
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
main.cpp
|
@ -248,6 +248,7 @@ Application::Application()
|
||||||
XSynchronize( display(), True );
|
XSynchronize( display(), True );
|
||||||
kDebug( 1212 ) << "Running KWin in sync mode";
|
kDebug( 1212 ) << "Running KWin in sync mode";
|
||||||
}
|
}
|
||||||
|
setQuitOnLastWindowClosed( false );
|
||||||
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
|
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
|
||||||
KSharedConfig::Ptr config = KGlobal::config();
|
KSharedConfig::Ptr config = KGlobal::config();
|
||||||
if( !config->isImmutable() && args->isSet( "lock" ))
|
if( !config->isImmutable() && args->isSet( "lock" ))
|
||||||
|
|
Loading…
Reference in a new issue