From daecd54b647e53d746e0f75545796fef9a1c9902 Mon Sep 17 00:00:00 2001 From: Samq64 <81489795+Samq64@users.noreply.github.com> Date: Fri, 5 Dec 2025 09:41:40 -0500 Subject: [PATCH] format --- src/animation/client.h | 11 +++++++---- src/fetch/client.h | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/animation/client.h b/src/animation/client.h index d74da5a..d5cf5f6 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -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->isfloating && !c->ismaximizescreen && c->mon && - c->mon->visible_tiling_clients == 1)) { + if (c->isfullscreen || + (no_radius_when_single && !c->isfloating && !c->ismaximizescreen && + c->mon && c->mon->visible_tiling_clients == 1)) { data.corner_location = CORNER_LOCATION_NONE; } @@ -265,7 +266,8 @@ 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->isfloating && !c->ismaximizescreen && c->mon && + c->isfullscreen || (no_radius_when_single && !c->isfloating && + !c->ismaximizescreen && c->mon && c->mon->visible_tiling_clients == 1) ? CORNER_LOCATION_NONE : CORNER_LOCATION_ALL; @@ -355,7 +357,8 @@ 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->isfloating && !c->ismaximizescreen && c->mon && + c->isfullscreen || (no_radius_when_single && !c->isfloating && + !c->ismaximizescreen && c->mon && c->mon->visible_tiling_clients == 1) ? CORNER_LOCATION_NONE : CORNER_LOCATION_ALL; diff --git a/src/fetch/client.h b/src/fetch/client.h index 16cc04f..2f971d3 100644 --- a/src/fetch/client.h +++ b/src/fetch/client.h @@ -11,7 +11,7 @@ bool check_hit_no_border(Client *c) { } if (no_border_when_single && c && !c->isfloating && !c->ismaximizescreen && - c->mon && c->mon->visible_tiling_clients == 1) { + c->mon && c->mon->visible_tiling_clients == 1) { return true; } return false;