mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-05 20:26:09 +01:00
bug fix with move_client_to_screen and proto simplification of tag_with_current_selected()
This commit is contained in:
parent
c66c6dff84
commit
211034c725
1 changed files with 2 additions and 2 deletions
4
screen.c
4
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);
|
||||
|
|
Loading…
Reference in a new issue