aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c4
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);