mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: unmanged and ignore focus window shouldn't in window num count
This commit is contained in:
parent
f2eb39ae95
commit
973d40f0df
1 changed files with 4 additions and 1 deletions
|
|
@ -1909,7 +1909,10 @@ arrange(Monitor *m, bool want_animation) {
|
||||||
|
|
||||||
if (c->mon == m) {
|
if (c->mon == m) {
|
||||||
if (VISIBLEON(c, m)) {
|
if (VISIBLEON(c, m)) {
|
||||||
m->visible_clients++;
|
|
||||||
|
if(!client_is_unmanaged(c) && !client_should_ignore_focus(c)) {
|
||||||
|
m->visible_clients++;
|
||||||
|
}
|
||||||
|
|
||||||
if (!c->is_clip_to_hide ||
|
if (!c->is_clip_to_hide ||
|
||||||
strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,
|
strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue