client: do not honor groups if physical screen are different

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-23 11:11:26 +01:00
parent cc58b840e6
commit 33d3aeb7d0
1 changed files with 1 additions and 1 deletions

View File

@ -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 */