scan: fix array indice
WTF. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a567917cc5
commit
5cb870c7b8
|
@ -112,7 +112,7 @@ scan(void)
|
||||||
|
|
||||||
state = window_state_get_reply(state_wins[i]);
|
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);
|
_AWESOME_PROPERTIES, NULL, NULL);
|
||||||
|
|
||||||
if(!attr_r || attr_r->override_redirect
|
if(!attr_r || attr_r->override_redirect
|
||||||
|
|
Loading…
Reference in New Issue