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:
parent
6ed3b61844
commit
5a51778768
2
client.c
2
client.c
|
@ -1027,6 +1027,8 @@ client_set_fullscreen(lua_State *L, int cidx, bool s)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* The titlebar was banned, unban! */
|
||||||
|
titlebar_unban(c->titlebar);
|
||||||
geometry = c->geometries.fullscreen;
|
geometry = c->geometries.fullscreen;
|
||||||
c->fullscreen = false;
|
c->fullscreen = false;
|
||||||
client_set_border_width(L, cidx, c->border_width_fs);
|
client_set_border_width(L, cidx, c->border_width_fs);
|
||||||
|
|
Loading…
Reference in New Issue