diff --git a/src/animation/client.h b/src/animation/client.h index a656991..1ebd25e 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -239,8 +239,8 @@ void buffer_set_effect(Client *c, animationScale data) { if (c == grabc) data.should_scale = false; - if (c->isfullscreen || - (no_radius_when_single && c->mon && c->mon->visible_clients == 1)) { + if (c->isfullscreen || (no_radius_when_single && c->mon && + c->mon->visible_tiling_clients == 1)) { data.corner_location = CORNER_LOCATION_NONE; } @@ -261,7 +261,7 @@ void client_draw_shadow(Client *c) { bool hit_no_border = check_hit_no_border(c); enum corner_location current_corner_location = c->isfullscreen || (no_radius_when_single && c->mon && - c->mon->visible_clients == 1) + c->mon->visible_tiling_clients == 1) ? CORNER_LOCATION_NONE : CORNER_LOCATION_ALL; @@ -351,7 +351,7 @@ void apply_border(Client *c) { bool hit_no_border = check_hit_no_border(c); enum corner_location current_corner_location = c->isfullscreen || (no_radius_when_single && c->mon && - c->mon->visible_clients == 1) + c->mon->visible_tiling_clients == 1) ? CORNER_LOCATION_NONE : CORNER_LOCATION_ALL;