summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/window.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/window.c b/src/core/window.c
index d6c3f253..fba7e024 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2249,7 +2249,6 @@ idle_calc_showing (gpointer data)
GSList *should_hide;
GSList *unplaced;
GSList *displays;
- MetaWindow *first_window;
guint queue_index = GPOINTER_TO_INT (data);
g_return_val_if_fail (queue_pending[queue_index] != NULL, FALSE);
@@ -2302,10 +2301,6 @@ idle_calc_showing (gpointer data)
should_show = g_slist_sort (should_show, stackcmp);
should_show = g_slist_reverse (should_show);
- first_window = copy->data;
-
- meta_display_grab (first_window->display);
-
tmp = unplaced;
while (tmp != NULL)
{
@@ -2378,8 +2373,6 @@ idle_calc_showing (gpointer data)
}
}
- meta_display_ungrab (first_window->display);
-
g_slist_free (copy);
g_slist_free (unplaced);