From 6ca742d4f2408e2277b98825206ed9d7e6cf41b1 Mon Sep 17 00:00:00 2001 From: Will McKinnon Date: Fri, 11 Nov 2022 20:05:05 -0500 Subject: feat: render tiling move indicator with round corners --- sway/input/seatop_move_tiling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/input') diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index 223c6c08..87e887ca 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c @@ -45,7 +45,8 @@ static void handle_render(struct sway_seat *seat, struct wlr_box box; memcpy(&box, &e->drop_box, sizeof(struct wlr_box)); scale_box(&box, output->wlr_output->scale); - render_rect(output, damage, &box, color); + render_rounded_rect(output, damage, &box, color, + e->con->corner_radius * output->wlr_output->scale, ALL); } } -- cgit v1.2.3