summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/manage.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 84a593e..340302a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-04-11 Shawn Betts <sabetts@sfu.ca>
+ * src/manage.c (get_wmname): add a debug line to print the
+ property returned.
+
* src/window.c (window_name): use WIN_NAME_* defines for possible
defaults.win_name values.
(window_name): remove case WIN_NAME_TITLE and glob it with the
diff --git a/src/manage.c b/src/manage.c
index 1be4e7a..6446038 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -110,7 +110,9 @@ get_wmname (Window w)
return NULL;
}
- /* duplicate the string into out own buffer, and free the one given
+ PRINT_DEBUG (("WM_NAME: '%s'", name));
+
+ /* duplicate the string into our own buffer, and free the one given
to us by X. */
ret = xstrdup (name);
XFree (name);