client: export urgent flag manipulation

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-03-20 08:04:31 +01:00
parent cec9686335
commit f0bb0b374b
1 changed files with 3 additions and 0 deletions

View File

@ -1590,6 +1590,9 @@ luaA_client_newindex(lua_State *L)
case A_TK_BELOW: case A_TK_BELOW:
client_setbelow(*c, luaA_checkboolean(L, 3)); client_setbelow(*c, luaA_checkboolean(L, 3));
break; break;
case A_TK_URGENT:
client_seturgent(*c, luaA_checkboolean(L, 3));
break;
case A_TK_BORDER_COLOR: case A_TK_BORDER_COLOR:
if((buf = luaL_checklstring(L, 3, &len)) if((buf = luaL_checklstring(L, 3, &len))
&& xcolor_init_reply(xcolor_init_unchecked(&(*c)->border_color, buf, len))) && xcolor_init_reply(xcolor_init_unchecked(&(*c)->border_color, buf, len)))