aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 6498198b..dea087c6 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -508,6 +508,10 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
int output_repaint_timer_handler(void *data) {
struct sway_output *output = data;
+ if (output->wlr_output == NULL) {
+ return 0;
+ }
+
output->wlr_output->block_idle_frame = false;
struct sway_workspace *workspace = output->current.active_workspace;