Archived
opt: optimize caculate win num of current mon in toggleoverview
This commit is contained in:
1 parent
1098c15f27
commit
878c36220a
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user