summaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authorWill McKinnon <[email protected]>2023-01-23 02:35:46 -0500
committerWill McKinnon <[email protected]>2023-01-23 02:35:46 -0500
commitdd67fdb6c3824eae4c2f0207526e155e0d390d17 (patch)
treed6c3ddf87c822456f2a49626764b15a6f45a5774 /sway/desktop/render.c
parent9e6901264b2d93d0ab0b91aee20a3d543f53d0ec (diff)
fix: don't round view popup corners
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index 1ecada45..467ab440 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -1473,9 +1473,9 @@ void output_render(struct sway_output *output, struct timespec *when,
? config->dim_inactive_colors.urgent
: config->dim_inactive_colors.unfocused,
.dim = focus->current.focused ? 0.0f: config->dim_inactive,
- .corner_radius = focus->corner_radius,
+ .corner_radius = 0,
.saturation = focus->saturation,
- .has_titlebar = focus->current.border == B_NORMAL,
+ .has_titlebar = false,
};
render_view_popups(focus->view, output, damage, deco_data);
}