It's due in fact of session manager restart style, which always restart
compiz. Here a small patch which fix this.

On dim, 2007-01-28 at 15:45 +0000, Mike Dransfield wrote:
> Stjepan Glavina wrote:
> > Compiz reloads itself if it crashes or another app kills it.
> > This can be sometimes very irritating and annoying. Can there at least
> > be a command-line option to disable this?
> >
> >   
> 
> Are you sure? I dont think it does
> 
> Maybe you have the crashhandler plugin enabled or something else
> is autorestarting it.
> 
> _______________________________________________
> compiz mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/compiz
> �
> 
commit c80b1ed9b651cc16eeed951edefc54af08992a5f
Author: Nicolas Bruguier <[EMAIL PROTECTED]>
Date:   Sun Jan 28 16:51:57 2007 +0100

    Restart only if compiz running

diff --git a/src/session.c b/src/session.c
index 6f339be..b5a3800 100644
--- a/src/session.c
+++ b/src/session.c
@@ -93,7 +93,7 @@ setRestartStyle (SmcConn connection)
 {
     SmProp	prop, *pProp;
     SmPropValue propVal;
-    char        hint = SmRestartImmediately;
+    char        hint = SmRestartIfRunning;
 
     prop.name = SmRestartStyleHint;
     prop.type = SmCARD8;

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to