KWin weirdness?

André Wöbbeking Woebbeking at kde.org
Fri Jun 5 12:15:00 BST 2009


On Friday 05 June 2009, Lubos Lunak wrote:
> On Friday 05 of June 2009, Michael Pyne wrote:
> > kde-svn at midna ~/kde4/kdebase/workspace/kwin $ svn diff
> > Index: main.cpp
> > ===================================================================
> > --- main.cpp    (revision 977669)
> > +++ main.cpp    (working copy)
> > @@ -248,6 +248,7 @@
> >          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" ))
> >
> > Now I'm unable to reproduce the bug with this patch.
> >
> > My question/dilemma is: What changed?  I can't see anywhere in
> > either the Qt/kdelibs/KWin sources that changed recently such that
> > last Window closed would take effect.  I *am* running the git
> > version of X.org but I'm not sure how that would make a difference.
> >  As far as I can tell QApplication has always defaulted quitting on
> > last window closed to true, and KWin has never worried about that
> > flag before from the little bit of looking around I was doing on
> > websvn.
>
>  I'll leave the question/dilemma up to you, since I have no idea what
> could have changed, but the patch can't hurt.
>
>  In fact, it might make sense to review all the various non-standard
> apps/daemons we have and check they use this too.

Yep, we were bitten more than once by this behaviour change :-(


Cheers,
André




More information about the kde-core-devel mailing list