opt: optimize init focus for x11 window
This commit is contained in:
@@ -1370,7 +1370,8 @@ void applyrules(Client *c) {
|
|||||||
|
|
||||||
int fullscreen_state_backup = c->isfullscreen || client_wants_fullscreen(c);
|
int fullscreen_state_backup = c->isfullscreen || client_wants_fullscreen(c);
|
||||||
setmon(c, mon, newtags,
|
setmon(c, mon, newtags,
|
||||||
!c->isopensilent && !client_should_ignore_focus(c) &&
|
!c->isopensilent &&
|
||||||
|
!(client_is_x11_popup(c) && client_should_ignore_focus(c)) &&
|
||||||
(!c->istagsilent || !newtags ||
|
(!c->istagsilent || !newtags ||
|
||||||
newtags & mon->tagset[mon->seltags]));
|
newtags & mon->tagset[mon->seltags]));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user