diff --git a/client.c b/client.c index 70f18163..4c1f0192 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(phys_screen, + screen_geom = get_screen_area(screen, globalconf.screens[screen].statusbar, &globalconf.screens[screen].padding); /* Initial values */