From ef70d6f8faa1ba04f12d4485d94fd37de3203087 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 27 Nov 2017 12:52:31 -0800 Subject: window: improve vwm_win_manage_xwin() tracing Use VWM_TRACE_WIN() and add a trace for when we try manage an xwin. --- src/window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 953590d..13b54fe 100644 --- a/src/window.c +++ b/src/window.c @@ -474,8 +474,10 @@ vwm_window_t * vwm_win_manage_xwin(vwm_t *vwm, vwm_xwindow_t *xwin) { vwm_window_t *focused, *vwin = NULL; + VWM_TRACE_WIN(xwin->id, "managing"); + if (xwin->managed) { - VWM_TRACE("suppressed re-management of xwin=%p", xwin); + VWM_TRACE_WIN(xwin->id, "suppressed re-management of xwin=%p", xwin); goto _fail; } -- cgit v1.2.3