client: move client to screen correctly if belonging to a group

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-23 15:34:00 +01:00
parent 33d3aeb7d0
commit d08b04ce9d

View file

@ -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);