update EWMH info before applying rules

This commit is contained in:
Julien Danjou 2007-12-28 14:03:22 +01:00
parent e0c1472249
commit 91c0f00b2b
1 changed files with 2 additions and 1 deletions

View File

@ -294,6 +294,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
c->screen = get_screen_bycoord(c->x, c->y);
c->phys_screen = get_phys_screen(c->screen);
ewmh_check_client_hints(c);
move_client_to_screen(c, screen, True);
/* update window title */
@ -376,7 +378,6 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
focus(c, True, screen);
ewmh_check_client_hints(c);
ewmh_update_net_client_list(c->phys_screen);
/* rearrange to display new window */