Go to file
Owen W. Taylor af9ab5dbb6 Only respawn if gnome-shell exits abnormally
If Mutter exits with an exit status of 0, then that most likely
means that it was replaced by another window manager and we shoudln't
try to start the previous window manager and the panel.

(We don't actually know about the panel, but assume that if someone
is replacing us they know what they are doing.)

When Mutter exits with a signal, we know we want to restart.

When Mutter exits with a non-signal non-zero exit status, it's
ambiguous - we could be exiting because we lost the connection to
the X server, or because of a assertion failure in gnome-shell.
We assume the latter; if the X server is gone, all that will happen
is a bit of noise.

To know why Mutter exited accurately, we always wait() and
kill() the Mutter process, and then, if running in Xephyr, clean up
Xephyr afterwards. This has the nice side effect of exiting when
gnome-shell does and not forcing the user to close Xephyr manually.

http://bugzilla.gnome.org/show_bug.cgi?id=591171
2009-08-25 19:01:42 -04:00
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
data Some search appearance fixes for last commit 2009-08-16 10:09:34 -04:00
js Display search results in the dash 2009-08-21 18:21:35 -04:00
po Updated Swedish translation 2009-08-25 07:48:31 +02:00
src Only respawn if gnome-shell exits abnormally 2009-08-25 19:01:42 -04:00
tools/build Replace libgnomegnomeui with gnome-desktop in gnome-shell-build-setup.sh 2009-08-11 16:39:43 -04:00
.gitignore Update .gitignore for i18n files 2009-08-18 18:19:16 -04:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Add localization 2009-08-14 09:14:34 -04:00
configure.ac Use g_shell_parse_argv() in run dialog 2009-08-18 18:17:02 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
MAINTAINERS Initial commit 2008-10-31 04:22:44 +00:00
Makefile.am Add localization 2009-08-14 09:14:34 -04:00
README Initial commit 2008-10-31 04:22:44 +00:00