mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-16 05:34:14 -04:00
opt: remove useless code
This commit is contained in:
parent
9eddc34b57
commit
36c5bcb4fe
3 changed files with 1 additions and 15 deletions
|
|
@ -597,7 +597,6 @@ arrange(Monitor *m, bool want_animation) {
|
|||
m->visible_clients = 0;
|
||||
m->visible_tiling_clients = 0;
|
||||
m->visible_scroll_tiling_clients = 0;
|
||||
m->has_visible_fullscreen_client = false;
|
||||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
|
||||
|
|
@ -611,9 +610,6 @@ arrange(Monitor *m, bool want_animation) {
|
|||
if (!c->isunglobal)
|
||||
m->visible_clients++;
|
||||
|
||||
if (c->isfullscreen)
|
||||
m->has_visible_fullscreen_client = true;
|
||||
|
||||
if (ISTILED(c)) {
|
||||
m->visible_tiling_clients++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue