diff options
author | Will McKinnon <[email protected]> | 2022-11-11 20:05:05 -0500 |
---|---|---|
committer | Will McKinnon <[email protected]> | 2022-11-11 20:05:17 -0500 |
commit | 6ca742d4f2408e2277b98825206ed9d7e6cf41b1 (patch) | |
tree | 66c86680d3b44a36772ac7cea7469ca19c9d9247 /sway/input | |
parent | 1881b01d3fe1805d371589969b4a75b9cccd8d26 (diff) |
feat: render tiling move indicator with round corners
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |