From e5b745d696c3ea14bfa9f51f75825befaa94a924 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 26 Dec 2024 15:22:57 +0100 Subject: Mention that recording has to be restarted to apply changes. Fix stuck in repeat state if pressed while gsr-global-hotkey starts --- include/Config.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/Config.hpp') diff --git a/include/Config.hpp b/include/Config.hpp index c61ca10..de96722 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -12,6 +12,9 @@ namespace gsr { struct ConfigHotkey { int64_t keysym = 0; uint32_t modifiers = 0; + + bool operator==(const ConfigHotkey &other) const; + bool operator!=(const ConfigHotkey &other) const; }; struct RecordOptions { @@ -94,6 +97,8 @@ namespace gsr { struct Config { Config(const SupportedCaptureOptions &capture_options); + bool operator==(const Config &other); + bool operator!=(const Config &other); MainConfig main_config; StreamingConfig streaming_config; -- cgit v1.2.3