From 5a5177876894ac7d1fef54d306e26da8ab9e2524 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 17 Aug 2010 18:04:33 +0200 Subject: [PATCH] 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 --- client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.c b/client.c index 8042c3ab..e3a5a755 100644 --- a/client.c +++ b/client.c @@ -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);