diff --git a/client.c b/client.c index 59eda8730..041445b57 100644 --- a/client.c +++ b/client.c @@ -553,7 +553,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) + if(group && group->phys_screen == c->phys_screen) screen = group->screen; /* Then check clients hints */