feat: fair layout

This commit is contained in:
DreamMaoMao 2026-05-16 08:23:48 +08:00
parent f9e17b6d76
commit 14d2827bae
5 changed files with 160 additions and 0 deletions

View file

@ -534,6 +534,7 @@ void client_set_drop_area(Client *c) {
bool should_swap =
(cur_layout->id == DECK || cur_layout->id == VERTICAL_DECK ||
cur_layout->id == MONOCLE || cur_layout->id == GRID ||
cur_layout->id == FAIR || cur_layout->id == VERTICAL_FAIR ||
cur_layout->id == VERTICAL_GRID) ||
((cur_layout->id == TILE || cur_layout->id == VERTICAL_TILE ||
cur_layout->id == CENTER_TILE || cur_layout->id == RIGHT_TILE) &&