mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-19 05:34:04 -04:00
opt: reset global window record per when arrange
This commit is contained in:
parent
af1f7850ee
commit
42f722ada2
3 changed files with 29 additions and 0 deletions
|
|
@ -576,6 +576,23 @@ void reset_size_per_mon(Monitor *m, int tile_cilent_num,
|
|||
}
|
||||
}
|
||||
|
||||
void reset_multi_tag_client_per(Monitor *m) {
|
||||
Client *c = NULL;
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
|
||||
if (c->isglobal || c->isunglobal) {
|
||||
set_size_per(m, c);
|
||||
}
|
||||
|
||||
if (!VISIBLEON(c, m))
|
||||
continue;
|
||||
|
||||
if (!client_only_in_one_tag(c)) {
|
||||
set_size_per(m, c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void // 17
|
||||
arrange(Monitor *m, bool want_animation) {
|
||||
Client *c = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue