use client's screen here
This commit is contained in:
parent
9733c6955c
commit
b016919d59
2
client.c
2
client.c
|
@ -233,7 +233,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
|
|
||||||
c->screen = get_screen_bycoord(wa->x, wa->y);
|
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].statusbar,
|
||||||
&globalconf.screens[screen].padding);
|
&globalconf.screens[screen].padding);
|
||||||
/* Initial values */
|
/* Initial values */
|
||||||
|
|
Loading…
Reference in New Issue