Skip to content

Commit

Permalink
Set optimized blur node to always visible
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Oct 25, 2024
1 parent 6194151 commit 306ed8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/scene/wlr_scene.c
Original file line number Diff line number Diff line change
Expand Up @@ -1844,6 +1844,8 @@ static bool scene_node_invisible(struct wlr_scene_node *node) {
struct wlr_scene_shadow *shadow = wlr_scene_shadow_from_node(node);

return shadow->color[3] == 0.f;
} else if (node->type == WLR_SCENE_NODE_OPTIMIZED_BLUR) {
return false;
} else if (node->type == WLR_SCENE_NODE_BUFFER) {
struct wlr_scene_buffer *buffer = wlr_scene_buffer_from_node(node);

Expand Down

0 comments on commit 306ed8b

Please sign in to comment.