GNOME Bugzilla – Bug 578148
Respawn Compiz when gnome-shell ends
Last modified: 2009-04-07 00:38:11 UTC
GNOME Shell should respawn Compiz instead of Metacity if the first one is what was running before.
Created attachment 132196 [details] [review] Respawn Compiz if it was running
this mostly looks good. however: - if not run_in_xephyr and (metacity_pid or gnome_panel_pid): + if not run_in_xephyr: # Restart gnome-panel and window manager if options.verbose: - print "Restarting Metacity and Gnome Panel" + print "Restarting window manager and gnome-panel" It shouldn't print that message if it's not going to be re-starting anything, which would happen if you started gnome-shell at the start of the session rather than starting metacity/compiz and gnome-panel first and then replacing them later. Probably we should just have separate "Restarting metacity", "Restarting compiz" and "Restarting gnome-panel" messages, inside the three if's below that.
Created attachment 132199 [details] [review] Fixed info messages to be more exact
Sure, looks good. (Do you have git access or should I commit it?)
I haven't, please commit :).
committed. thanks for the patch