From b294eb990e9ef31bdee857314361d7c016b671b5 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 7 Feb 2009 15:39:35 +0100 Subject: [PATCH] screen: do arrange, even if we do not resize Signed-off-by: Julien Danjou --- screen.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/screen.c b/screen.c index e2cce317c..bba203d70 100644 --- a/screen.c +++ b/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]); } + if(wasvisible) + globalconf.screens[old_screen].need_arrange = true; + client_need_arrange(c); + if (!doresize) return; @@ -378,9 +382,6 @@ screen_client_moveto(client_t *c, int new_screen, bool dotag, bool doresize) } /* move / resize the client */ client_resize(c, new_geometry, false); - if(wasvisible) - globalconf.screens[old_screen].need_arrange = true; - client_need_arrange(c); } /** Screen module.