mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Rearrange the screen when changing layout
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1555e3838b
commit
834405425e
1 changed files with 3 additions and 0 deletions
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);
|
||||
|
||||
if(l)
|
||||
{
|
||||
(*tag)->layout = l;
|
||||
globalconf.screens[(*tag)->screen].need_arrange = true;
|
||||
}
|
||||
else
|
||||
luaL_error(L, "unknown layout: %s", name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue