From 5c9807f849eb0eba01c8c7609346d238f5dac3df Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 13 Apr 2003 22:54:16 +0000 Subject: (get_wmname): add debugging output to print returned elements from X11 call. --- ChangeLog | 5 +++++ src/manage.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4b13105..bc40433 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-13 Shawn Betts + + * src/manage.c (get_wmname): add debugging output to print + returned elements from X11 call. + 2003-04-11 Shawn Betts * 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")); -- cgit v1.2.3