client: return real floating status

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-14 13:40:40 +01:00
parent 3ebcc1aa5a
commit 19038336a9
1 changed files with 1 additions and 1 deletions

View File

@ -1486,7 +1486,7 @@ luaA_client_index(lua_State *L)
return 0; return 0;
break; break;
case A_TK_FLOATING: case A_TK_FLOATING:
lua_pushboolean(L, (*c)->isfloating); lua_pushboolean(L, client_isfloating(*c));
break; break;
case A_TK_ONTOP: case A_TK_ONTOP:
lua_pushboolean(L, (*c)->isontop); lua_pushboolean(L, (*c)->isontop);