aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-18 13:56:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-18 13:56:06 +0000
commitfa06cf31ffe8630d30cd608e3935d15021052383 (patch)
tree2b7394077cb512d1de0e2fe7fd07752a7ca3f639 /terminal.h
parentMerge branch 'reduce-tllist-usage' (diff)
parentrender: don’t create/destroy the title update timer each time (diff)
Merge branch 'title-update'
Closes #591
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index b96621fd..e6bcfa40 100644
--- a/terminal.h
+++ b/terminal.h
@@ -474,7 +474,6 @@ struct terminal {
bool grid;
bool csd;
bool search;
- bool title;
bool urls;
} refresh;
@@ -483,13 +482,18 @@ struct terminal {
bool grid;
bool csd;
bool search;
- bool title;
bool urls;
} pending;
bool margins; /* Someone explicitly requested a refresh of the margins */
bool urgency; /* Signal 'urgency' (paint borders red) */
+ struct {
+ struct timeval last_update;
+ bool is_armed;
+ int timer_fd;
+ } title;
+
int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */
struct {