From bc55b90f2eb48c506a46e839e038d2bc7c499c64 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 20 Nov 2025 21:03:11 -0500 Subject: tree/view: check for null workspace output Fixes #8950 --- sway/tree/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/tree/view.c b/sway/tree/view.c index 3d621124..be813be9 100644 --- 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; -- cgit v1.2.3