commit 0da0d37f3dcbf66befb198fcd221d8345b9814b5
parent 38005bd85461d1e65295aacbf7f4d00e54295032
Author: Alexander Orzechowski <alex@ozal.ski>
Date: Tue, 18 Feb 2025 12:39:18 -0500
output: Allow configuring scene without an output
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
@@ -229,7 +229,9 @@ void output_configure_scene(struct sway_output *output,
// hack: don't call the scene setter because that will damage all outputs
// We don't want to damage outputs that aren't our current output that
// we're configuring
- buffer->filter_mode = get_scale_filter(output, buffer);
+ if (output) {
+ buffer->filter_mode = get_scale_filter(output, buffer);
+ }
wlr_scene_buffer_set_opacity(buffer, opacity);
} else if (node->type == WLR_SCENE_NODE_TREE) {