From eaeffa93af07daa50844533e8d9fcb8b8291676c Mon Sep 17 00:00:00 2001 From: Abhinav Date: Mon, 2 Jun 2025 11:00:37 +0100 Subject: fixed syntax error from removing debug messages --- src/sxwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sxwm.c b/src/sxwm.c index 212770a..c1eeb25 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -1358,12 +1358,14 @@ Bool window_should_float(Window w) if (!user_config.should_float[i] || !user_config.should_float[i][0]) { break; } - + + printf("[DEBUG] Checking window class '%s' and instance '%s' against should_float[%d][0] = '%s'\n", ch.res_class ? ch.res_class : "NULL", ch.res_name ? ch.res_name : "NULL", i, user_config.should_float[i][0]); if ((ch.res_class && !strcmp(ch.res_class, user_config.should_float[i][0])) || (ch.res_name && !strcmp(ch.res_name, user_config.should_float[i][0]))) { + printf("[DEBUG] Window should float based on class/instance match\n"); XFree(ch.res_class); XFree(ch.res_name); return True; -- cgit v1.2.3