mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Use X11 global hotkeys on X11 when possible to prevent clashing with keys used by other applications
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
namespace gsr {
|
||||
class DropdownButton;
|
||||
class GlobalHotkeys;
|
||||
|
||||
enum class RecordingStatus {
|
||||
NONE,
|
||||
@@ -40,7 +41,7 @@ namespace gsr {
|
||||
Overlay& operator=(const Overlay&) = delete;
|
||||
~Overlay();
|
||||
|
||||
void handle_events();
|
||||
void handle_events(gsr::GlobalHotkeys *global_hotkeys);
|
||||
void on_event(mgl::Event &event);
|
||||
// Returns false if not visible
|
||||
bool draw();
|
||||
|
||||
Reference in New Issue
Block a user