From 43115649451b191dbfdbe843d0b02dbd794d00f6 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 14 Mar 2008 16:19:55 +0100 Subject: [PATCH] Fix condition for having titlebars --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 8f3d784b..dae077ff 100644 --- a/client.c +++ b/client.c @@ -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,