From 06ca99c3a353ec13e221b4bec1103ec56f2609d4 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 1 May 2014 17:58:06 -0400 Subject: [PATCH] window: Remove some ugly debug logging --- src/core/window.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index bf223dad8..a530b609a 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3806,12 +3806,6 @@ meta_window_move_resize_internal (MetaWindow *window, meta_window_get_client_root_coords (window, &old_rect); - meta_topic (META_DEBUG_GEOMETRY, - "Move/resize %s to %d,%d %dx%d%s from %d,%d %dx%d\n", - window->desc, root_x_nw, root_y_nw, w, h, - is_user_action ? " (user move/resize)" : "", - old_rect.x, old_rect.y, old_rect.width, old_rect.height); - /* If this is only a resize, then ignore the position given in * the parameters and instead calculate the new position from * resizing the old rectangle with the given gravity. */ @@ -3861,25 +3855,13 @@ meta_window_move_resize_internal (MetaWindow *window, if (result & META_MOVE_RESIZE_RESULT_RESIZED) g_signal_emit (window, window_signals[SIZE_CHANGED], 0); - if ((result & (META_MOVE_RESIZE_RESULT_MOVED | META_MOVE_RESIZE_RESULT_RESIZED)) != 0 || - did_placement) + if ((result & (META_MOVE_RESIZE_RESULT_MOVED | META_MOVE_RESIZE_RESULT_RESIZED)) != 0 || did_placement) { - int newx, newy; - meta_window_get_position (window, &newx, &newy); - meta_topic (META_DEBUG_GEOMETRY, - "New size/position %d,%d %dx%d (user %d,%d %dx%d)\n", - newx, newy, window->rect.width, window->rect.height, - window->user_rect.x, window->user_rect.y, - window->user_rect.width, window->user_rect.height); if (window->known_to_compositor) meta_compositor_sync_window_geometry (window->display->compositor, window, did_placement); } - else - { - meta_topic (META_DEBUG_GEOMETRY, "Size/position not modified\n"); - } meta_window_update_monitor (window);