use info from the right screen

This commit is contained in:
Julien Danjou 2008-01-19 14:56:18 +01:00
parent 7b5b02416a
commit 0ccfeb14b5
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ statusbar_init(Statusbar *statusbar, int screen)
Widget *widget;
XSetWindowAttributes wa;
int phys_screen = get_phys_screen(screen);
Area area = get_screen_area(statusbar->screen,
Area area = get_screen_area(screen,
globalconf.screens[screen].statusbar,
&globalconf.screens[screen].padding);