Add settings page functionality to reopen after language change

This commit is contained in:
Andrew
2026-04-27 01:41:35 +03:00
committed by dec05eba
parent 962e4c99f7
commit 952fbc9ba3
4 changed files with 81 additions and 64 deletions

View File

@@ -124,6 +124,7 @@ namespace gsr {
void recreate_global_hotkeys(std::string_view hotkey_option);
void update_led_indicator_after_settings_change();
void recreate_frontpage_ui_components();
void open_settings_page();
void xi_setup();
void handle_xi_events();
void process_key_bindings(mgl::Event &event);
@@ -299,6 +300,7 @@ namespace gsr {
bool hide_ui = false;
bool reload_ui = false;
bool reopen_settings_after_reload = false;
double notification_duration_multiplier = 1.0;
ClipboardFile clipboard_file;