mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
config: convert tweak.render_timer to an enum
This commit is contained in:
parent
69ec74a605
commit
891fce6236
4 changed files with 42 additions and 22 deletions
8
config.h
8
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue