fix regression where Metacity sometimes wouldn't quit when replaced

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


svn path=/trunk/; revision=3665
This commit is contained in:
Thomas Thurman 2008-03-27 12:32:50 +00:00 committed by Thomas James Alexander Thurman
parent 0130c0d5b6
commit f3e64f181d
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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
2008-03-26 Thomas Thurman <tthurman@gnome.org> 2008-03-26 Thomas Thurman <tthurman@gnome.org>
* src/core/display.c (event_callback): meta_display_screen_for_root * src/core/display.c (event_callback): meta_display_screen_for_root

View File

@ -1050,11 +1050,9 @@ meta_display_close (MetaDisplay *display,
g_assert (display != NULL); g_assert (display != NULL);
if (display->screens == NULL) if (display->closing != 0)
{ {
/* The display's already been closed. (We automatically /* The display's already been closed. */
* close displays with no screens.
*/
return; return;
} }