mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05: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:
parent
0130c0d5b6
commit
f3e64f181d
@ -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>
|
||||
|
||||
* src/core/display.c (event_callback): meta_display_screen_for_root
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user