mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:

committed by
Thomas James Alexander Thurman

parent
0130c0d5b6
commit
f3e64f181d
@ -1050,11 +1050,9 @@ meta_display_close (MetaDisplay *display,
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user