Media keys working again

This commit is contained in:
2026-10-18 03:50:33 +02:00
parent 726a7ae92d
commit 798708b3e7
20 changed files with 590 additions and 112 deletions

View File

@@ -12,6 +12,7 @@ namespace gkeymapper {
// What the footer needs to know about the daemon.
struct DaemonStatus {
bool reachable = false;
bool configOk = true; // false after a ConfigReloaded(false); see fetch_status
std::string version;
std::string device;
std::string configPath;
@@ -60,6 +61,7 @@ private:
guint signal_subscription_ = 0;
guint name_subscription_ = 0;
bool started_ = false;
bool configOk_ = true;
StatusFn onStatus_;
KeyFn onKey_;
};