diff options
author | emersion <contact@emersion.fr> | 2018-01-07 00:30:55 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-07 00:30:55 +0100 |
commit | 77fc0505e6afed714fc4e96358fc04dc1c1be54b (patch) | |
tree | 6b5bbcb8714fbf3111de17fefba935778401a976 | |
parent | 53ba9b4eec4345cb5ba6640e8677f3b2477d2693 (diff) |
rootston: do not attempt to render disabled outputs
-rw-r--r-- | rootston/output.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |