summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sxwm.c4
1 files changed, 3 insertions, 1 deletions
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;