aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-01-13 11:08:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-01-13 11:08:20 +0000
commit891fce62364704b7fc05bfe723a3619297b5b9e0 (patch)
tree2a73c8db929b227c3334784514d0921649b8aacb /config.h
parentMerge branch 'bad-locale' (diff)
config: convert tweak.render_timer to an enum
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h b/config.h
index 84aee3ae..12e95e58 100644
--- a/config.h
+++ b/config.h
@@ -274,8 +274,12 @@ struct config {
GRAPHEME_WIDTH_DOUBLE,
GRAPHEME_WIDTH_MAX,
} grapheme_width_method;
- bool render_timer_osd;
- bool render_timer_log;
+ enum {
+ RENDER_TIMER_NONE,
+ RENDER_TIMER_OSD,
+ RENDER_TIMER_LOG,
+ RENDER_TIMER_BOTH
+ } render_timer;
bool damage_whole_window;
uint32_t delayed_render_lower_ns;
uint32_t delayed_render_upper_ns;