From 211034c725bd6025655409277426f2a3dfd37f76 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 27 Dec 2007 16:29:45 +0100 Subject: [PATCH] bug fix with move_client_to_screen and proto simplification of tag_with_current_selected() --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen.c b/screen.c index 3fd903ac..c5b1ded0 100644 --- a/screen.c +++ b/screen.c @@ -188,11 +188,11 @@ move_client_to_screen(Client *c, int new_screen, Bool doresize) for(tag = globalconf.screens[old_screen].tags; tag; tag = tag->next) untag_client(c, tag, old_screen); + c->screen = new_screen; + /* tag client with new screen tags */ tag_client_with_current_selected(c); - c->screen = new_screen; - if(doresize && old_screen != c->screen) { to = get_screen_area(c->screen, NULL, NULL);