Fix condition for having titlebars

This commit is contained in:
Julien Danjou 2008-03-14 16:19:55 +01:00
parent dce101d044
commit 4311564945
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
/* propagates border_width, if size doesn't change */
window_configure(c->win, c->geometry, c->border);
switch(globalconf.screens[c->screen].titlebar)
switch(globalconf.screens[screen].titlebar)
{
case Top:
titlebar_height = 1.5 * MAX(globalconf.screens[c->screen].styles.normal.font->height,