diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 43abc81c..fba13b37 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -452,7 +452,7 @@ static void render_surface_iterator(struct sway_output *output, wlr_box_transform(&monitor_box, &monitor_box, wlr_output_transform_invert(wlr_output->transform), monitor_box.width, monitor_box.height); struct blur_stencil_data stencil_data = { &fx_texture, &src_box, matrix }; - bool should_optimize_blur = view ? !container_is_floating(view->container) || config->blur_xray : false; + bool should_optimize_blur = view ? !container_is_floating_or_child(view->container) || config->blur_xray : false; render_blur(should_optimize_blur, output, output_damage, &dst_box, &opaque_region, &deco_data, &stencil_data); } @@ -832,7 +832,7 @@ static void render_saved_view(struct sway_view *view, struct sway_output *output wlr_box_transform(&monitor_box, &monitor_box, wlr_output_transform_invert(wlr_output->transform), monitor_box.width, monitor_box.height); struct blur_stencil_data stencil_data = { &fx_texture, &saved_buf->source_box, matrix }; - bool should_optimize_blur = !container_is_floating(view->container) || config->blur_xray; + bool should_optimize_blur = !container_is_floating_or_child(view->container) || config->blur_xray; render_blur(should_optimize_blur, output, damage, &dst_box, &opaque_region, &deco_data, &stencil_data);