From 8b826eb260bfb3e5f28c5230f3dbff00ecb3beae Mon Sep 17 00:00:00 2001 From: bradleyhughes Date: Tue, 18 Jan 2005 08:18:47 +0000 Subject: [PATCH] print out the entity/win pointer in addition to window ids --- src/StackingList.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/StackingList.cc b/src/StackingList.cc index 251d51b..0be8d6e 100644 --- a/src/StackingList.cc +++ b/src/StackingList.cc @@ -194,12 +194,12 @@ static void print_entity(StackEntity *entity) { BlackboxWindow *win = dynamic_cast(entity); if (win) { - fprintf(stderr, " 0x%lx: window 0x%lx '%s'\n", - win->windowID(), win->clientWindow(), + fprintf(stderr, " 0x%lx: window 0x%lx %p '%s'\n", + win->windowID(), win->clientWindow(), win, bt::toLocale(win->title()).c_str()); } else if (entity) { - fprintf(stderr, " 0x%lx: unknown entity\n", - entity->windowID()); + fprintf(stderr, " 0x%lx: %p unknown entity\n", + entity->windowID(), entity); } else { fprintf(stderr, " zero\n"); } -- 2.11.4.GIT