mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Mention that recording has to be restarted to apply changes. Fix stuck in repeat state if pressed while gsr-global-hotkey starts
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace gsr {
|
||||
struct SupportedCaptureOptions {
|
||||
bool window = false;
|
||||
bool focused = false;
|
||||
bool screen = false;
|
||||
bool portal = false;
|
||||
std::vector<GsrMonitor> monitors;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace gsr {
|
||||
void load();
|
||||
void save();
|
||||
void on_navigate_away_from_page() override;
|
||||
|
||||
std::function<void()> on_config_changed;
|
||||
private:
|
||||
std::unique_ptr<RadioButton> create_view_radio_button();
|
||||
std::unique_ptr<ComboBox> create_record_area_box();
|
||||
|
||||
Reference in New Issue
Block a user