diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/manage.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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")); |