update EWMH info before applying rules
This commit is contained in:
parent
e0c1472249
commit
91c0f00b2b
3
client.c
3
client.c
|
@ -294,6 +294,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
c->screen = get_screen_bycoord(c->x, c->y);
|
c->screen = get_screen_bycoord(c->x, c->y);
|
||||||
c->phys_screen = get_phys_screen(c->screen);
|
c->phys_screen = get_phys_screen(c->screen);
|
||||||
|
|
||||||
|
ewmh_check_client_hints(c);
|
||||||
|
|
||||||
move_client_to_screen(c, screen, True);
|
move_client_to_screen(c, screen, True);
|
||||||
|
|
||||||
/* update window title */
|
/* update window title */
|
||||||
|
@ -376,7 +378,6 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
|
|
||||||
focus(c, True, screen);
|
focus(c, True, screen);
|
||||||
|
|
||||||
ewmh_check_client_hints(c);
|
|
||||||
ewmh_update_net_client_list(c->phys_screen);
|
ewmh_update_net_client_list(c->phys_screen);
|
||||||
|
|
||||||
/* rearrange to display new window */
|
/* rearrange to display new window */
|
||||||
|
|
Loading…
Reference in New Issue