[gnome-shell] Unmanage the screen before reexecing



commit 577ccc4d561449c0cb367c3deb273261ed070d3e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Oct 17 15:19:46 2011 -0400

    Unmanage the screen before reexecing
    
    This ensures a 'clean shutdown' of mutter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660848

 src/shell-global.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index bf7b5a7..6aafcdb 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -1122,6 +1122,10 @@ shell_global_reexec_self (ShellGlobal *global)
    */
   pre_exec_close_fds ();
 
+  meta_display_unmanage_screen (shell_global_get_display (global),
+                                shell_global_get_screen (global),
+                                shell_global_get_current_time (global));
+
   execvp (arr->pdata[0], (char**)arr->pdata);
   g_warning ("failed to reexec: %s", g_strerror (errno));
   g_ptr_array_free (arr, TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]