Revert "core/window.c: Remove unused function"

This reverts commit ff6c31dcc0d69ef72b58902283ad123b9f4c11b7.
This commit is contained in:
Javier Jardón 2012-04-26 11:54:12 +01:00
parent ff6c31dcc0
commit 4c2371f2e7

View File

@ -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)
{