diff options
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/display.c b/src/core/display.c index 40c3c983..6e0154b7 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -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; } |