From d08b04ce9d7c431accb01caf6882f619b33bb4aa Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 23 Jan 2009 15:34:00 +0100 Subject: [PATCH] client: move client to screen correctly if belonging to a group Signed-off-by: Julien Danjou --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 041445b57..a8d0c64e0 100644 --- a/client.c +++ b/client.c @@ -554,7 +554,7 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int phys_screen, /* Move to the right screen. * Assumption: Window groups do not span multiple logical screens. */ if(group && group->phys_screen == c->phys_screen) - screen = group->screen; + screen_client_moveto(c, group->screen, false, true); /* Then check clients hints */ ewmh_client_check_hints(c);