commit 842ea067737934823ccdef9adb8fbec6481bc472
parent b54d1205d866a0bbc3b00c511dace77aa7113160
Author: Damino <dom32400@aol.com>
Date: Thu, 20 Nov 2025 21:03:11 -0500
tree/view: check for null workspace output
Fixes #8950
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/tree/view.c b/sway/tree/view.c
@@ -307,7 +307,7 @@ void view_autoconfigure(struct sway_view *view) {
}
struct sway_output *output = ws ? ws->output : NULL;
- if (con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE) {
+ if (output && con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE) {
con->pending.content_x = output->lx;
con->pending.content_y = output->ly;
con->pending.content_width = output->width;