diff --git a/client.c b/client.c index 4c1f0192..43b67114 100644 --- a/client.c +++ b/client.c @@ -233,7 +233,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen) c->screen = get_screen_bycoord(wa->x, wa->y); - screen_geom = get_screen_area(screen, + screen_geom = get_screen_area(c->screen, globalconf.screens[screen].statusbar, &globalconf.screens[screen].padding); /* Initial values */