diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-11-20 21:03:11 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-11-20 21:03:11 -0500 |
| commit | bc55b90f2eb48c506a46e839e038d2bc7c499c64 (patch) | |
| tree | e4d044470149b0f6ef5117a57ee2e755c87e4e0a | |
| parent | 759f63ce5f97dca8082681be2cd70bca45d9e565 (diff) | |
tree/view: check for null workspace output
Fixes #8950
| -rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
