From 91c0f00b2b0fe054e3cca0198c0c0f3362027699 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 28 Dec 2007 14:03:22 +0100 Subject: [PATCH] update EWMH info before applying rules --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index f17e8cd0..ba9d795d 100644 --- a/client.c +++ b/client.c @@ -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 */