diff --git a/client.c b/client.c index d6852f85..049e3d55 100644 --- a/client.c +++ b/client.c @@ -1038,7 +1038,7 @@ client_set_fullscreen(lua_State *L, int cidx, bool s) { /* The titlebar was banned, unban! */ titlebar_unban(c->titlebar); - geometry = c->geometries.fullscreen; + geometry = titlebar_geometry_add(c->titlebar, 0, c->geometries.fullscreen); c->fullscreen = false; client_set_border_width(L, cidx, c->border_width_fs); }