diff options
Diffstat (limited to 'kwin')
-rw-r--r-- | kwin/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kwin/main.cpp b/kwin/main.cpp index 96cb793ba..ee1f66c68 100644 --- a/kwin/main.cpp +++ b/kwin/main.cpp @@ -86,6 +86,10 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) Application::Application( ) : KApplication( ), owner( screen_number ) { +#ifdef USE_QT4 + // I'm special... + setQuitOnLastWindowClosed(false); +#endif // USE_QT4 KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); if (!config()->isImmutable() && args->isSet("lock")) { |