mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-29 21:37:42 -04:00
opt: more simple size percent keep logic
This commit is contained in:
parent
373bbf90a0
commit
e6ae14ec25
5 changed files with 232 additions and 305 deletions
|
|
@ -48,4 +48,13 @@ static void finish_exchange_arrange_and_focus(Client *c1, Client *c2,
|
|||
}
|
||||
wl_list_remove(&c2->flink);
|
||||
wl_list_insert(&c1->flink, &c2->flink);
|
||||
}
|
||||
|
||||
void client_tile_resize(Client *c, struct wlr_box geo, int32_t interact) {
|
||||
if (!ISSCROLLTILED(c))
|
||||
return;
|
||||
|
||||
if (!c->isfullscreen && !c->ismaximizescreen) {
|
||||
resize(c, geo, interact);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue