mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-13 13:29:55 -05:00
opt: not tiling window not affect no_radius_when_single option
This commit is contained in:
parent
932192ee53
commit
cee0d0fd80
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue