bug fix with move_client_to_screen and proto simplification of tag_with_current_selected()

This commit is contained in:
Julien Danjou 2007-12-27 16:29:45 +01:00
parent c66c6dff84
commit 211034c725
1 changed files with 2 additions and 2 deletions

View File

@ -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) for(tag = globalconf.screens[old_screen].tags; tag; tag = tag->next)
untag_client(c, tag, old_screen); untag_client(c, tag, old_screen);
c->screen = new_screen;
/* tag client with new screen tags */ /* tag client with new screen tags */
tag_client_with_current_selected(c); tag_client_with_current_selected(c);
c->screen = new_screen;
if(doresize && old_screen != c->screen) if(doresize && old_screen != c->screen)
{ {
to = get_screen_area(c->screen, NULL, NULL); to = get_screen_area(c->screen, NULL, NULL);