[gnome-applets/wip/segeiger/type-changed: 52/54] windowpicker: Cleanup



commit 03f8f96ba7d975a5b65f4982f30d954d5f7a5a23
Author: Sebastian Geiger <sbastig gmx net>
Date:   Fri Jan 22 13:40:35 2016 +0100

    windowpicker: Cleanup

 windowpicker/src/task-list.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/windowpicker/src/task-list.c b/windowpicker/src/task-list.c
index 2833d81..c198415 100644
--- a/windowpicker/src/task-list.c
+++ b/windowpicker/src/task-list.c
@@ -53,25 +53,17 @@ static void create_task_item (TaskList   *taskList,
     gint x, y, w, h;
 
     if (g_slist_length (task_lists) > 1) {
-        g_message ("[task_list] Number of task_lists: %d",
-                   g_slist_length (task_lists));
-        // we have more than one tasklist running, so only show items
-        // of the current monitor on this task_list
         gdk_window = gtk_widget_get_window (GTK_WIDGET (taskList));
         gdk_screen = gtk_widget_get_screen (GTK_WIDGET (taskList));
         list_monitor = gdk_screen_get_monitor_at_window (gdk_screen,
                                                          gdk_window);
 
-        g_message ("[task_list] list_monitor=%d", list_monitor);
-
         wnck_window_get_geometry (window, &x, &y, &w, &h);
-        /* Don't include the window if its center point is not on the same monitor */
 
         window_monitor = gdk_screen_get_monitor_at_point (gdk_screen,
                                                           x + w / 2,
                                                           y + h / 2);
 
-        g_message ("[task_list] window_monitor=%d", window_monitor);
         if (list_monitor != window_monitor)
             return;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]