From 8f8097aa2c752fde0061f50f0d21d382c5344d43 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Mon, 3 Nov 2008 17:49:24 +0000 Subject: [PATCH] Removes some g_print debugging --- src/compositor/mutter/compositor-mutter.c | 32 +---------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/src/compositor/mutter/compositor-mutter.c b/src/compositor/mutter/compositor-mutter.c index 379b3878e..752d82437 100644 --- a/src/compositor/mutter/compositor-mutter.c +++ b/src/compositor/mutter/compositor-mutter.c @@ -1240,7 +1240,6 @@ add_win (MetaScreen *screen, MetaWindow *window, Window xwindow) return; } - g_printerr ("window =%p\n", window); if (info == NULL) return; @@ -1414,7 +1413,7 @@ repair_win (MutterWindow *cw) full = TRUE; } - /* + /* * TODO -- on some gfx hardware updating the whole texture instead of * the individual rectangles is actually quicker, so we might want to * make this a configurable option (on desktop HW with multiple pipelines @@ -2382,17 +2381,12 @@ clutter_cmp_sync_stack (MetaCompositor *compositor, GList *tmp; MetaCompScreen *info = meta_screen_get_compositor_data (screen); - g_printerr ("----------------------------------------\n"); for (tmp = stack; tmp != NULL; tmp = tmp->next) { MetaWindow *window = tmp->data; MutterWindow *cw = window->compositor_private; GList *link; - /* FIXME -debug */ - g_printerr ("sync DEBUG window = %p stack_position=%d\n", - window, window->stack_position); - if (!cw) { meta_verbose ("Failed to find corresponding MutterWindow " @@ -2400,36 +2394,12 @@ clutter_cmp_sync_stack (MetaCompositor *compositor, continue; } -#if 0 - /* This is a failsafe, it shouldn't be needed if everything is - * well behaved, but if some plugin accidentally shows a - * hidden window, this may help. */ - if (window->hidden) - clutter_actor_hide (CLUTTER_ACTOR (cw)); -#endif - clutter_actor_lower_bottom (CLUTTER_ACTOR (cw)); /* Also maintain the order of info->windows */ info->windows = g_list_remove (info->windows, (gconstpointer)cw); info->windows = g_list_prepend (info->windows, cw); } - -#if 0 - /* FIXME debug */ - { - g_printerr ("----------------------------------------\n"); - MetaWindow *window = stack->data; - MutterWindow *cw = window->compositor_private; - ClutterActor *parent = clutter_actor_get_parent (cw); - for (tmp = clutter_container_get_children (parent); - tmp != NULL; - tmp = tmp->next) - { - g_printerr ("sync DEBUG: %p\n", tmp->data); - } - } -#endif } static void