diff --git a/src/core/window.c b/src/core/window.c index 918d10e4d..5a7ac628e 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2812,6 +2812,21 @@ window_would_be_covered (const MetaWindow *newbie) return FALSE; /* none found */ } +static gboolean +map_frame (MetaWindow *window) +{ + if (window->frame && !window->frame->mapped) + { + meta_topic (META_DEBUG_WINDOW_STATE, + "Frame actually needs map\n"); + window->frame->mapped = TRUE; + meta_ui_map_frame (window->screen->ui, window->frame->xwindow); + return TRUE; + } + else + return FALSE; +} + static gboolean unmap_frame (MetaWindow *window) {