summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xprop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xprop.c b/xprop.c
index 2279219..c026c11 100644
--- a/xprop.c
+++ b/xprop.c
@@ -1287,14 +1287,14 @@ Handle_Prop_Requests (int argc, char **argv)
char *format, *dformat, *prop;
thunk *thunks, t;
- thunks = Create_Thunk_List();
-
/* if no prop referenced, by default list all properties for given window */
if (!argc) {
Show_All_Props();
return NULL;
}
+ thunks = Create_Thunk_List();
+
while (argc > 0) {
format = NULL;
dformat = NULL;