mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-24 01:40:14 -05:00
opt: optimize init focus for x11 window
This commit is contained in:
parent
bb30ea9204
commit
e800e0e04a
1 changed files with 2 additions and 1 deletions
|
|
@ -1377,7 +1377,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