mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-08 13:29:56 -05:00
feat: add layout center_tile
This commit is contained in:
parent
698498ddf0
commit
5f380e2379
5 changed files with 122 additions and 17 deletions
|
|
@ -474,16 +474,4 @@ void vertical_tile(Monitor *m) {
|
|||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
void vertical_monocle(Monitor *m) {
|
||||
Client *c;
|
||||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (!VISIBLEON(c, m) || !ISTILED(c))
|
||||
continue;
|
||||
resize(c, m->w, 0);
|
||||
}
|
||||
if ((c = focustop(m)))
|
||||
wlr_scene_node_raise_to_top(&c->scene->node);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue