diff --git a/main.cpp b/main.cpp index cbd2f194d0..328151851f 100644 --- a/main.cpp +++ b/main.cpp @@ -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" ))