From 2ed02c90a87e93121795173c054a0b30190414d5 Mon Sep 17 00:00:00 2001 From: William McKinnon Date: Sun, 23 Jul 2023 23:40:09 -0400 Subject: [PATCH] removed src_box --- sway/desktop/render.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sway/desktop/render.c b/sway/desktop/render.c index d04769d1..def07263 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -310,9 +310,7 @@ void render_blur(bool optimized, struct sway_output *output, pixman_region32_t * struct decoration_data deco_data = get_undecorated_decoration_data(); deco_data.corner_radius = corner_radius; deco_data.has_titlebar = should_round_top; - // TODO: contribute wlroots function to allow creating an fbox from a box? - const struct wlr_fbox src_box = { monitor_box.x, monitor_box.y, monitor_box.width, monitor_box.height }; - render_texture(wlr_output, &damage, &buffer->texture, &src_box, dst_box, matrix, deco_data); + render_texture(wlr_output, &damage, &buffer->texture, NULL, dst_box, matrix, deco_data); damage_finish: pixman_region32_fini(&damage);