From 77fc0505e6afed714fc4e96358fc04dc1c1be54b Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 7 Jan 2018 00:30:55 +0100 Subject: [PATCH] rootston: do not attempt to render disabled outputs --- rootston/output.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootston/output.c b/rootston/output.c index 7e05136a..a8866fa6 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -211,6 +211,10 @@ static void output_frame_notify(struct wl_listener *listener, void *data) { struct roots_desktop *desktop = output->desktop; struct roots_server *server = desktop->server; + if (!wlr_output->enabled) { + return; + } + struct timespec now; clock_gettime(CLOCK_MONOTONIC, &now);