diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-27 02:00:09 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-27 02:00:09 +0200 |
commit | 28c437e90a3ad4660f44da8b8bf07008032d2bba (patch) | |
tree | 219a1057c2fb2ea43ea07d3a0d1b644178a60154 /include | |
parent | cfcee1a5d8e5068cdc5171b01beb9f9e6251e51e (diff) |
Only have one notification process open at a time (kill previous one when showing new)
Diffstat (limited to 'include')
-rw-r--r-- | include/Overlay.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp index fa6630d..e693764 100644 --- a/include/Overlay.hpp +++ b/include/Overlay.hpp @@ -50,6 +50,7 @@ namespace gsr { private: void process_key_bindings(mgl::Event &event); + void update_notification_process_status(); void update_gsr_process_status(); void update_ui_recording_paused(); @@ -90,6 +91,7 @@ namespace gsr { bool visible = false; uint64_t default_cursor = 0; pid_t gpu_screen_recorder_process = -1; + pid_t notification_process = -1; std::optional<Config> config; DropdownButton *replay_dropdown_button_ptr = nullptr; DropdownButton *record_dropdown_button_ptr = nullptr; |