fix: fullscreen should no corner radius
This commit is contained in:
@@ -1101,7 +1101,8 @@ void apply_border(Client *c) {
|
|||||||
|
|
||||||
bool hit_no_border = check_hit_no_border(c);
|
bool hit_no_border = check_hit_no_border(c);
|
||||||
enum corner_location current_corner_location =
|
enum corner_location current_corner_location =
|
||||||
c->mon->visible_clients == 1 && no_radius_when_single
|
c->isfullscreen ||
|
||||||
|
(c->mon->visible_clients == 1 && no_radius_when_single)
|
||||||
? CORNER_LOCATION_NONE
|
? CORNER_LOCATION_NONE
|
||||||
: CORNER_LOCATION_ALL;
|
: CORNER_LOCATION_ALL;
|
||||||
|
|
||||||
@@ -5118,7 +5119,8 @@ void buffer_set_effect(Client *c, animationScale data) {
|
|||||||
if (c == grabc)
|
if (c == grabc)
|
||||||
data.should_scale = false;
|
data.should_scale = false;
|
||||||
|
|
||||||
if (c->mon->visible_clients == 1 && no_radius_when_single) {
|
if (c->isfullscreen ||
|
||||||
|
(c->mon->visible_clients == 1 && no_radius_when_single)) {
|
||||||
data.corner_location = CORNER_LOCATION_NONE;
|
data.corner_location = CORNER_LOCATION_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user