From 5cb870c7b80557a1d3931eca3fda52281e9ede8a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 14 Aug 2008 21:42:36 +0200 Subject: [PATCH] scan: fix array indice WTF. Signed-off-by: Julien Danjou --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index af7873ff4..d8ca0993c 100644 --- a/awesome.c +++ b/awesome.c @@ -112,7 +112,7 @@ scan(void) state = window_state_get_reply(state_wins[i]); - has_awesome_prop = xutil_text_prop_get(globalconf.connection, wins[1], + has_awesome_prop = xutil_text_prop_get(globalconf.connection, wins[i], _AWESOME_PROPERTIES, NULL, NULL); if(!attr_r || attr_r->override_redirect