Change mouse_hide_wait to struct, and change mouse_show_* options to optional parameters for struct. mouse_show_* renamed to mouse_unhide_*

This commit is contained in:
Your Name
2025-04-04 09:09:29 +00:00
parent 464446e388
commit 33167f2057
11 changed files with 85 additions and 89 deletions

View File

@@ -39,9 +39,12 @@ struct MenuItem {
};
typedef struct {
monotonic_t visual_bell_duration, cursor_blink_interval, cursor_stop_blinking_after, mouse_hide_wait, mouse_show_wait, click_interval;
int mouse_show_threshold;
bool mouse_scroll_show;
monotonic_t visual_bell_duration, cursor_blink_interval, cursor_stop_blinking_after, click_interval;
struct {
monotonic_t hide_wait, unhide_wait;
int unhide_threshold;
bool scroll_unhide;
} mouse_hide;
double wheel_scroll_multiplier, touch_scroll_multiplier;
int wheel_scroll_min_lines;
bool enable_audio_bell;