summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/manage.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b13105..bc40433 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-13 Shawn Betts <sabetts@sfu.ca>
+
+ * src/manage.c (get_wmname): add debugging output to print
+ returned elements from X11 call.
+
2003-04-11 Shawn Betts <sabetts@sfu.ca>
* src/manage.c (get_wmname): add a debug line to print the
diff --git a/src/manage.c b/src/manage.c
index 26a14ee..059c480 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -104,6 +104,9 @@ get_wmname (Window w)
XA_STRING, &actual_type, &actual_format,
&n, &bytes_after, &name);
+ PRINT_DEBUG (("XGetWindowProperty: %d %ld %d %ld %ld '%s'\n", status, actual_type,
+ actual_format, n, bytes_after, name));
+
if (status != Success || name == NULL)
{
PRINT_DEBUG (("I can't get the WMName.\n"));