diff options
author | Zhang Xianwei <[email protected]> | 2018-08-14 16:47:37 +0800 |
---|---|---|
committer | monsta <[email protected]> | 2018-08-19 21:06:17 +0300 |
commit | 1bbadd3d9aec6b361421ae5fee1a89331d68251b (patch) | |
tree | e3cd469e1e403f0989f279dfd205c6f0757ee25a | |
parent | ef8f73d6f81ac3d841bf136960adf523204412ea (diff) | |
download | mate-screensaver-1bbadd3d9aec6b361421ae5fee1a89331d68251b.tar.bz2 mate-screensaver-1bbadd3d9aec6b361421ae5fee1a89331d68251b.tar.xz |
Remove "monitor" pointer from debug information
Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r-- | src/gs-manager.c | 4 | ||||
-rw-r--r-- | src/gs-window-x11.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c index 3774705..d8c9213 100644 --- a/src/gs-manager.c +++ b/src/gs-manager.c @@ -1539,8 +1539,8 @@ gs_manager_create_window_for_monitor (GSManager *manager, display = gdk_monitor_get_display (monitor); gdk_monitor_get_geometry (monitor, &rect); - 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 e5b857c..e36f113 100644 --- a/src/gs-window-x11.c +++ b/src/gs-window-x11.c @@ -387,8 +387,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, |