summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-08-14 16:47:37 +0800
committermonsta <[email protected]>2018-09-22 14:13:14 +0300
commit41395645032c7514b105f29fd1c3293b001fa3b6 (patch)
treebc097fb103233d0a7fd9478e44fa7d0032eec05e
parent7dfb29e0200a9fed0f91f51466305e1f3da00537 (diff)
downloadmate-screensaver-41395645032c7514b105f29fd1c3293b001fa3b6.tar.bz2
mate-screensaver-41395645032c7514b105f29fd1c3293b001fa3b6.tar.xz
Remove "monitor" pointer from debug information
Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r--src/gs-manager.c4
-rw-r--r--src/gs-window-x11.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index 5ff21b4..c2cb386 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1582,8 +1582,8 @@ gs_manager_create_window_for_monitor (GSManager *manager,
monitor, &rect);
#endif
- gs_debug ("Creating a window for the monitor [%d,%d] (%dx%d)",
- monitor, rect.x, rect.y, rect.width, rect.height);
+ gs_debug ("Creating a window [%d,%d] (%dx%d)",
+ rect.x, rect.y, rect.width, rect.height);
window = gs_window_new (display, monitor, manager->priv->lock_active);
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index dbdb469..bc9c872 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -420,8 +420,7 @@ gs_window_move_resize_window (GSWindow *window,
g_assert (gtk_widget_get_realized (widget));
- gs_debug ("Move and/or resize window on monitor %d: x=%d y=%d w=%d h=%d",
- window->priv->monitor,
+ gs_debug ("Move and/or resize window: x=%d y=%d w=%d h=%d",
window->priv->geometry.x,
window->priv->geometry.y,
window->priv->geometry.width,