Fix condition for having titlebars
This commit is contained in:
parent
dce101d044
commit
4311564945
2
client.c
2
client.c
|
@ -347,7 +347,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
/* propagates border_width, if size doesn't change */
|
/* propagates border_width, if size doesn't change */
|
||||||
window_configure(c->win, c->geometry, c->border);
|
window_configure(c->win, c->geometry, c->border);
|
||||||
|
|
||||||
switch(globalconf.screens[c->screen].titlebar)
|
switch(globalconf.screens[screen].titlebar)
|
||||||
{
|
{
|
||||||
case Top:
|
case Top:
|
||||||
titlebar_height = 1.5 * MAX(globalconf.screens[c->screen].styles.normal.font->height,
|
titlebar_height = 1.5 * MAX(globalconf.screens[c->screen].styles.normal.font->height,
|
||||||
|
|
Loading…
Reference in New Issue