aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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;