mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-12 04:28:35 -05:00
opt: optimize init focus for x11 window
This commit is contained in:
parent
389f417a3b
commit
b3578344dc
1 changed files with 2 additions and 1 deletions
|
|
@ -1370,7 +1370,8 @@ void applyrules(Client *c) {
|
|||
|
||||
int fullscreen_state_backup = c->isfullscreen || client_wants_fullscreen(c);
|
||||
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 ||
|
||||
newtags & mon->tagset[mon->seltags]));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue