metacity r3665 - in trunk: . src/core



Author: tthurman
Date: Thu Mar 27 12:32:50 2008
New Revision: 3665
URL: http://svn.gnome.org/viewvc/metacity?rev=3665&view=rev

Log:
2008-03-27  Thomas Thurman  <tthurman gnome org>

        * src/core/display.c (meta_display_close): fix regression
        where Metacity sometimes wouldn't quit when replaced



Modified:
   trunk/ChangeLog
   trunk/src/core/display.c

Modified: trunk/src/core/display.c
==============================================================================
--- trunk/src/core/display.c	(original)
+++ trunk/src/core/display.c	Thu Mar 27 12:32:50 2008
@@ -1050,11 +1050,9 @@
 
   g_assert (display != NULL);
 
-  if (display->screens == NULL)
+  if (display->closing != 0)
     {
-      /* The display's already been closed. (We automatically
-       * close displays with no screens.
-       */
+      /* The display's already been closed. */
       return;
     }
 



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