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,8 +316,11 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
|
|||
break;
|
||||
}
|
||||
if(!has_rule)
|
||||
{
|
||||
tag_client_with_current_selected(c, current_acf);
|
||||
move_client_to_screen(c, current_acf, True);
|
||||
}
|
||||
}
|
||||
|
||||
/* if window request fullscreen mode */
|
||||
if(c->w == screen_info[current_acf->screen].width && c->h == screen_info[current_acf->screen].height)
|
||||
|
@ -482,10 +485,13 @@ 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);
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
saveprops(Client * c, int ntags)
|
||||
|
|
Loading…
Reference in New Issue