feat: add windowrule option isnoradius

This commit is contained in:
DreamMaoMao 2025-12-20 11:39:53 +08:00
parent df0e18481b
commit 471c71f65c
3 changed files with 11 additions and 2 deletions

View file

@ -240,8 +240,9 @@ void buffer_set_effect(Client *c, BufferData data) {
if (c == grabc)
data.should_scale = false;
if (c->isfullscreen || (no_radius_when_single && c->mon &&
c->mon->visible_tiling_clients == 1)) {
if (c->isnoradius || c->isfullscreen ||
(no_radius_when_single && c->mon &&
c->mon->visible_tiling_clients == 1)) {
data.corner_location = CORNER_LOCATION_NONE;
}