[compiz] Compiz session management

Kristian Høgsberg krh at bitplanet.net
Thu Mar 29 19:25:47 PDT 2007


On 3/29/07, David Reveman <davidr at novell.com> wrote:
> On Wed, 2007-03-28 at 21:08 -0400, Kristian Høgsberg wrote:
> > On 3/28/07, dragoran <drago01 at gmail.com> wrote:
> > > Hello,
> > > After trying to solve a issue with desktop-effects in fedora (compiz
> > > does not let itself to be replaced by metacity).
> > > We come to the conclusion that the compiz session management code is broken.
> > > When unmanaging the screen compiz should unregister itself from the
> > > session manager to let a new started wm to take over the screen.
> > > See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229113
> >
> > It looks like we're just missing closeSession() when we exit due to a
> > lost selection.  The attached patch should fix that as well as a
> > similar issue with SIGHUP. I'm not a session management expert though.
>
> I made the evenLoop function return instead as that seemed a bit more
> appropriate. It should do the same thing.

Ah yeah, that looks a lot nicer.  I was just trying to do a minimal
patch, but returning from the loop is clearly better.

thanks
Kristian


More information about the compiz mailing list