summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-11-27 12:52:31 -0800
committerVito Caputo <vcaputo@pengaru.com>2017-11-27 12:52:31 -0800
commitef70d6f8faa1ba04f12d4485d94fd37de3203087 (patch)
treedcd10548b07c2606b53e39551321353e394aee06 /src/window.c
parent7e3b007d94a4b85afad2a1d09b0b8eb447e09ea6 (diff)
window: improve vwm_win_manage_xwin() tracing
Use VWM_TRACE_WIN() and add a trace for when we try manage an xwin.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 3 insertions, 1 deletions
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;
}
© All Rights Reserved