From da2624628b91dcda689e13071744256abb5fa077 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 20 Feb 2024 01:57:34 +0100 Subject: [PATCH] dbus: Send response on uninhibit (#13) --- src/core/Hypridle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/Hypridle.cpp b/src/core/Hypridle.cpp index 901cf0c..0276e23 100644 --- a/src/core/Hypridle.cpp +++ b/src/core/Hypridle.cpp @@ -401,6 +401,10 @@ void handleDbusScreensaver(sdbus::MethodCall call, bool inhibit) { reply.send(); Debug::log(LOG, "Cookie {} sent", cookieID - 1); + } else { + auto reply = call.createReply(); + reply.send(); + Debug::log(TRACE, "Uninhibit response sent"); } }