aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-11 21:51:38 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-11 21:51:38 +0200
commit38feee9f29c134d7734f76db8af196618380e8f5 (patch)
tree92f9072c8688bcea3d3dbb1b07079056f80e4f8f /include
parent90a1272a653f9ac7b00e902a343e22455dbb67b1 (diff)
Fix unable to change hotkey settings while recording
Diffstat (limited to 'include')
-rw-r--r--include/GlobalHotkeysLinux.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GlobalHotkeysLinux.hpp b/include/GlobalHotkeysLinux.hpp
index c9428de..959d095 100644
--- a/include/GlobalHotkeysLinux.hpp
+++ b/include/GlobalHotkeysLinux.hpp
@@ -22,6 +22,8 @@ namespace gsr {
void unbind_all_keys() override;
void poll_events() override;
private:
+ void close_fds();
+ private:
pid_t process_id = 0;
int read_pipes[2];
int write_pipes[2];