mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-01 22:58:44 -04:00
opt: optimize caculate win num of current mon in toggleoverview
This commit is contained in:
parent
1098c15f27
commit
878c36220a
1 changed files with 1 additions and 1 deletions
|
|
@ -6395,7 +6395,7 @@ void toggleoverview(const Arg *arg) {
|
|||
|
||||
if (selmon->isoverview) {
|
||||
wl_list_for_each(c, &clients,
|
||||
link) if (c && c->mon == selmon && !c->isminied) {
|
||||
link) if (c && c->mon == selmon && !client_is_unmanaged(c) && !client_should_ignore_focus(c) && !c->isminied) {
|
||||
visible_client_number++;
|
||||
}
|
||||
if (visible_client_number > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue