Unban the titlebar when leaving fullscreen

When entering fullscreen, we remove the titlebar via titlebar_ban(). Obviously,
it makes sense to unban the titlebar again when leaving fullscreen. :)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-08-17 18:04:33 +02:00
parent 6ed3b61844
commit 5a51778768
1 changed files with 2 additions and 0 deletions

View File

@ -1027,6 +1027,8 @@ client_set_fullscreen(lua_State *L, int cidx, bool s)
}
else
{
/* The titlebar was banned, unban! */
titlebar_unban(c->titlebar);
geometry = c->geometries.fullscreen;
c->fullscreen = false;
client_set_border_width(L, cidx, c->border_width_fs);