Re: [compiz] Irritating reloading

2007-02-06 Thread David Reveman
On Sun, 2007-01-28 at 16:08 +0100, 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?

--sm-disable, can be used to disables all session management.

- David

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Irritating reloading

2007-01-28 Thread Stjepan Glavina
On Sun, 2007-01-28 at 15:45 +, 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.
> 

No, I just use compiz from GIT without any 3rd party plugins.

Stjepan

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Irritating reloading

2007-01-28 Thread gandalfn
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 +, 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
> compiz@lists.freedesktop.org
> 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;
-charhint = SmRestartImmediately;
+charhint = SmRestartIfRunning;
 
 prop.name = SmRestartStyleHint;
 prop.type = SmCARD8;


signature.asc
Description: This is a digitally signed message part
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Irritating reloading

2007-01-28 Thread Mike Dransfield
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
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


[compiz] Irritating reloading

2007-01-28 Thread Stjepan Glavina
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?

Stjepan

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz