From c64188c67fb7de949fd9ad1985bcb1dbb6f06af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 26 Apr 2012 11:54:31 +0100 Subject: [PATCH] core/window.c: Remove unused unmap_frame() function --- src/core/window.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index 5a7ac628e..08e413c49 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2827,20 +2827,6 @@ map_frame (MetaWindow *window) return FALSE; } -static gboolean -unmap_frame (MetaWindow *window) -{ - if (window->frame && window->frame->mapped) - { - meta_topic (META_DEBUG_WINDOW_STATE, "Frame actually needs unmap\n"); - window->frame->mapped = FALSE; - meta_ui_unmap_frame (window->screen->ui, window->frame->xwindow); - return TRUE; - } - else - return FALSE; -} - static gboolean map_client_window (MetaWindow *window) {