From ebd8c2726b8caac6adc00cf15c5631e51d05ba1f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 16 Dec 2024 02:21:38 +0100 Subject: Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name --- src/Overlay.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Overlay.cpp') diff --git a/src/Overlay.cpp b/src/Overlay.cpp index da3758e..628a862 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -1374,6 +1374,7 @@ namespace gsr { } } + // TODO: Instead of checking power supply status periodically listen to power supply event void Overlay::update_power_supply_status() { if(config.replay_config.turn_on_replay_automatically_mode != "turn_on_at_power_supply_connected") return; -- cgit v1.2.3