Archived
opt: optimize visible client count
This commit is contained in:
1 parent
9659fc1c6b
commit
4b8d74668e
1 file changed
+1
-2
+1
-2
@@ -1293,9 +1293,8 @@ void set_tagin_animation(Monitor *m, Client *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void set_arrange_visible(Monitor *m, Client *c, bool want_animation) {
|
void set_arrange_visible(Monitor *m, Client *c, bool want_animation) {
|
||||||
if (!client_is_unmanaged(c) && !client_should_ignore_focus(c)) {
|
|
||||||
m->visible_clients++;
|
m->visible_clients++;
|
||||||
}
|
|
||||||
|
|
||||||
if (ISTILED(c)) {
|
if (ISTILED(c)) {
|
||||||
m->visible_tiling_clients++;
|
m->visible_tiling_clients++;
|
||||||
|
|||||||
Reference in new issue
Block a user