wmutils

X windows manipulation utilities
git clone git://z3bra.org/wmutils
Log | Files | Refs | LICENSE

commit 4747b2ad6e2de015c915c1590dd6338170729ebd
parent 818e24dc4011cb4f249bd6e2dabd5f70e4157b5c
Author: dcat <dcat@iotek.org>
Date:   Tue Dec  2 19:55:00 2014

only print if it has a name

Diffstat:
 wname.c | 2 ++
 1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/wname.c b/wname.c @@ -35,6 +35,8 @@ get_title (xcb_window_t win) if (r) { len = xcb_get_property_value_length(r); + if (!len) + return 1; printf("%.*s\n", len, (char *) xcb_get_property_value(r)); return 0;