don't forget to retag windows on screen changes
This commit is contained in:
parent
aebe42decd
commit
5c5e9418d7
6
client.c
6
client.c
|
@ -316,7 +316,10 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(!has_rule)
|
if(!has_rule)
|
||||||
|
{
|
||||||
|
tag_client_with_current_selected(c, current_acf);
|
||||||
move_client_to_screen(c, current_acf, True);
|
move_client_to_screen(c, current_acf, True);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if window request fullscreen mode */
|
/* if window request fullscreen mode */
|
||||||
|
@ -482,7 +485,10 @@ client_resize(Client *c, int x, int y, int w, int h, awesome_config *awesomeconf
|
||||||
{
|
{
|
||||||
int new_screen = get_screen_bycoord(c->display, c->x, c->y);
|
int new_screen = get_screen_bycoord(c->display, c->x, c->y);
|
||||||
if(c->screen != new_screen)
|
if(c->screen != new_screen)
|
||||||
|
{
|
||||||
|
tag_client_with_current_selected(c, &awesomeconf[new_screen - awesomeconf->screen]);
|
||||||
move_client_to_screen(c, &awesomeconf[new_screen - awesomeconf->screen], False);
|
move_client_to_screen(c, &awesomeconf[new_screen - awesomeconf->screen], False);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue