From 196f9d67c2049c50474c78ddeb59ebe72ac070ab Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 22 Jul 2019 19:15:56 +0200 Subject: term: group 'flash' state together in a struct --- terminal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 5ebcbd64..bf693769 100644 --- a/terminal.h +++ b/terminal.h @@ -243,8 +243,10 @@ struct terminal { char *window_title; tll(char *) window_title_stack; - bool flash_active; - int flash_timer_fd; + struct { + bool active; + int fd; + } flash; bool is_blinking; enum { BLINK_ON, BLINK_OFF } blink_mode; -- cgit v1.3