From ce8954f3587e073a7c4b019b6fbdc4e3bc50b62d Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 24 Dec 2021 18:58:07 -0800 Subject: window: fix VWM_TRACE() vestigial desktop name print Once upon a time names were going to be added, but that never came to be and at some point that unused member was removed. Turns out -DTRACE builds have been broken since. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 2620372..6e83d52 100644 --- a/src/window.c +++ b/src/window.c @@ -558,7 +558,7 @@ vwm_window_t * vwm_win_manage_xwin(vwm_t *vwm, vwm_xwindow_t *xwin) /* if the desktop has no focused window yet, automatically focus the newly managed one */ if (!vwm->focused_desktop->focused_window) { - VWM_TRACE("Mapped new window \"%s\" is alone on desktop \"%s\", focusing", xwin->name, vwm->focused_desktop->name); + VWM_TRACE("Mapped new window \"%s\" is alone on desktop \"%p\", focusing", xwin->name, vwm->focused_desktop); vwm_win_focus(vwm, vwin); } -- cgit v1.2.3