@@ -311,6 +311,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
311311 arrange_title_bar (child , title_offset , - title_bar_height ,
312312 next_title_offset - title_offset , title_bar_height );
313313 wlr_scene_node_set_enabled (& child -> border .tree -> node , activated );
314+ wlr_scene_node_set_enabled (& child -> blur -> node , activated );
314315 wlr_scene_node_set_enabled (& child -> shadow -> node , false);
315316 wlr_scene_node_set_enabled (& child -> scene_tree -> node , true);
316317 wlr_scene_node_set_position (& child -> scene_tree -> node , 0 , title_bar_height );
@@ -342,6 +343,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
342343
343344 arrange_title_bar (child , 0 , y - title_height , width , title_bar_height );
344345 wlr_scene_node_set_enabled (& child -> border .tree -> node , activated );
346+ wlr_scene_node_set_enabled (& child -> blur -> node , activated );
345347 wlr_scene_node_set_enabled (& child -> shadow -> node , false);
346348 wlr_scene_node_set_enabled (& child -> scene_tree -> node , true);
347349 wlr_scene_node_set_position (& child -> scene_tree -> node , 0 , title_height );
@@ -363,6 +365,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
363365 int cheight = child -> current .height ;
364366
365367 wlr_scene_node_set_enabled (& child -> border .tree -> node , true);
368+ wlr_scene_node_set_enabled (& child -> blur -> node , true);
366369 wlr_scene_node_set_enabled (& child -> shadow -> node ,
367370 container_has_shadow (child ) && child -> view );
368371 wlr_scene_node_set_position (& child -> scene_tree -> node , 0 , off );
@@ -381,6 +384,7 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
381384 int cwidth = child -> current .width ;
382385
383386 wlr_scene_node_set_enabled (& child -> border .tree -> node , true);
387+ wlr_scene_node_set_enabled (& child -> blur -> node , true);
384388 wlr_scene_node_set_enabled (& child -> shadow -> node ,
385389 container_has_shadow (child ) && child -> view );
386390 wlr_scene_node_set_position (& child -> scene_tree -> node , off , 0 );
@@ -553,6 +557,11 @@ static void arrange_container(struct sway_container *con,
553557 wlr_scene_node_reparent (& con -> view -> scene_tree -> node , con -> content_tree );
554558 wlr_scene_node_set_position (& con -> view -> scene_tree -> node ,
555559 border_left , border_top );
560+
561+ wlr_scene_node_set_enabled (& con -> blur -> node , con -> blur_enabled );
562+ wlr_scene_node_set_position (& con -> blur -> node , border_left , border_top );
563+ wlr_scene_blur_set_size (con -> blur , con -> current .content_width ,
564+ con -> current .content_height );
556565 } else {
557566 // make sure to disable the title bar if the parent is not managing it
558567 if (title_bar ) {
0 commit comments