aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osc.c b/osc.c
index 2845ab96..cfecf2ee 100644
--- a/osc.c
+++ b/osc.c
@@ -213,10 +213,10 @@ osc_flash(struct terminal *term)
.it_value = {.tv_sec = 0, .tv_nsec = duration_ms * 1000000},
};
- if (timerfd_settime(term->flash_timer_fd, 0, &alarm, NULL) < 0)
+ if (timerfd_settime(term->flash.fd, 0, &alarm, NULL) < 0)
LOG_ERRNO("failed to arm flash timer");
else {
- term->flash_active = true;
+ term->flash.active = true;
}
}