From 3fc3fd96238403ff3467969945a2e0763c1673d5 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 16 Jan 2008 15:26:48 +0100 Subject: [PATCH] use previous statusbar to get screen size --- statusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusbar.c b/statusbar.c index 28d800de..e349a367 100644 --- a/statusbar.c +++ b/statusbar.c @@ -156,7 +156,7 @@ statusbar_init(Statusbar *statusbar, int screen) XSetWindowAttributes wa; int phys_screen = get_phys_screen(screen); Area area = get_screen_area(statusbar->screen, - NULL, + globalconf.screens[screen].statusbar, &globalconf.screens[screen].padding); if(statusbar->height <= 0)