screen: do arrange, even if we do not resize
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ee382dc5a8
commit
b294eb990e
7
screen.c
7
screen.c
|
@ -329,6 +329,10 @@ screen_client_moveto(client_t *c, int new_screen, bool dotag, bool doresize)
|
||||||
tag_client(c, new_tags->tab[i]);
|
tag_client(c, new_tags->tab[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(wasvisible)
|
||||||
|
globalconf.screens[old_screen].need_arrange = true;
|
||||||
|
client_need_arrange(c);
|
||||||
|
|
||||||
if (!doresize)
|
if (!doresize)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -378,9 +382,6 @@ screen_client_moveto(client_t *c, int new_screen, bool dotag, bool doresize)
|
||||||
}
|
}
|
||||||
/* move / resize the client */
|
/* move / resize the client */
|
||||||
client_resize(c, new_geometry, false);
|
client_resize(c, new_geometry, false);
|
||||||
if(wasvisible)
|
|
||||||
globalconf.screens[old_screen].need_arrange = true;
|
|
||||||
client_need_arrange(c);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Screen module.
|
/** Screen module.
|
||||||
|
|
Loading…
Reference in New Issue