Rearrange the screen when changing layout

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Fabienne Ducroquet 2008-05-24 13:55:50 +02:00 committed by Julien Danjou
parent 1555e3838b
commit 834405425e
1 changed files with 3 additions and 0 deletions

3
tag.c
View File

@ -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);