projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd623f5
)
show empty properties in obxprop
author
Dana Jansens
<danakj@orodu.net>
Wed, 12 May 2010 03:43:29 +0000
(23:43 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 12 May 2010 03:43:29 +0000
(23:43 -0400)
tools/obxprop/obxprop.c
patch
|
blob
|
history
diff --git
a/tools/obxprop/obxprop.c
b/tools/obxprop/obxprop.c
index
e4f6ff0
..
83ff54a
100644
(file)
--- a/
tools/obxprop/obxprop.c
+++ b/
tools/obxprop/obxprop.c
@@
-98,9
+98,9
@@
static gboolean get_all(Display *d, Window win, Atom prop,
default:
g_assert_not_reached(); /* unhandled size */
}
- *num = ret_items;
- ret = TRUE;
}
+ *num = ret_items;
+ ret = TRUE;
XFree(xdata);
}
return ret;
@@
-254,7
+254,7
@@
void show_properties(Display *d, Window w, int argc, char **argv)
}
}
if (found)
- g_print("%s(%s) = %s\n", name, type,
val
);
+ g_print("%s(%s) = %s\n", name, type,
(val ? val : "")
);
g_free(val);
}