mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
wibox: modify border color live
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a57b87b411
commit
3c11511316
1 changed files with 3 additions and 1 deletions
4
wibox.c
4
wibox.c
|
@ -964,7 +964,9 @@ luaA_wibox_newindex(lua_State *L)
|
|||
break;
|
||||
case A_TK_BORDER_COLOR:
|
||||
if((buf = luaL_checklstring(L, 3, &len)))
|
||||
xcolor_init_reply(xcolor_init_unchecked(&(*wibox)->sw.border.color, buf, len));
|
||||
if(xcolor_init_reply(xcolor_init_unchecked(&(*wibox)->sw.border.color, buf, len)))
|
||||
if((*wibox)->sw.window)
|
||||
simplewindow_border_color_set(&(*wibox)->sw, &(*wibox)->sw.border.color);
|
||||
break;
|
||||
case A_TK_VISIBLE:
|
||||
b = luaA_checkboolean(L, 3);
|
||||
|
|
Loading…
Reference in a new issue