Revert "core/window.c: Remove unused function"
This reverts commit ff6c31dcc0d69ef72b58902283ad123b9f4c11b7.
This commit is contained in:
parent
ff6c31dcc0
commit
4c2371f2e7
@ -2812,6 +2812,21 @@ window_would_be_covered (const MetaWindow *newbie)
|
|||||||
return FALSE; /* none found */
|
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
|
static gboolean
|
||||||
unmap_frame (MetaWindow *window)
|
unmap_frame (MetaWindow *window)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user