Implement disabling the internal workspace bar

This commit is contained in:
Michael Stapelberg
2010-03-14 12:59:45 +01:00
parent 2df374ca4c
commit 2df1fb8ac8
3 changed files with 19 additions and 14 deletions

View File

@ -460,7 +460,8 @@ int workspace_height(Workspace *ws) {
height -= client->desired_height;
/* Space for the internal bar */
height -= (font->height + 6);
if (!config.disable_workspace_bar)
height -= (font->height + 6);
return height;
}