summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-04-13 22:54:16 +0000
committersabetts <sabetts>2003-04-13 22:54:16 +0000
commit5c9807f849eb0eba01c8c7609346d238f5dac3df (patch)
treec0e9b3263661e810cd78c360ecd42e60d7752718
parentd3cb4e8408cde0e426a7c8a4c52a98af4884bbbf (diff)
downloadratpoison-5c9807f849eb0eba01c8c7609346d238f5dac3df.zip
(get_wmname): add debugging output to print
returned elements from X11 call.
-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"));