client: simplify condition in visible get

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-21 16:33:29 +02:00
parent 59ef5a0572
commit 8da2f939cd
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ luaA_client_visible_get(lua_State *L)
lua_newtable(L); lua_newtable(L);
for(c = globalconf.clients; c; c = c->next) for(c = globalconf.clients; c; c = c->next)
if(!c->skip && !c->ishidden && client_isvisible(c, screen)) if(!c->skip && client_isvisible(c, screen))
{ {
luaA_client_userdata_new(globalconf.L, c); luaA_client_userdata_new(globalconf.L, c);
lua_rawseti(L, -2, i++); lua_rawseti(L, -2, i++);