Rearrange the screen when changing layout
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1555e3838b
commit
834405425e
3
tag.c
3
tag.c
|
@ -447,7 +447,10 @@ luaA_tag_layout_set(lua_State *L)
|
||||||
layout_t *l = name_func_lookup(name, LayoutList);
|
layout_t *l = name_func_lookup(name, LayoutList);
|
||||||
|
|
||||||
if(l)
|
if(l)
|
||||||
|
{
|
||||||
(*tag)->layout = l;
|
(*tag)->layout = l;
|
||||||
|
globalconf.screens[(*tag)->screen].need_arrange = true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
luaL_error(L, "unknown layout: %s", name);
|
luaL_error(L, "unknown layout: %s", name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue