dbus: Send response on uninhibit (#13)

This commit is contained in:
ItsDrike 2024-02-20 01:57:34 +01:00 committed by GitHub
parent c26683b60d
commit da2624628b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -401,6 +401,10 @@ void handleDbusScreensaver(sdbus::MethodCall call, bool inhibit) {
reply.send(); reply.send();
Debug::log(LOG, "Cookie {} sent", cookieID - 1); Debug::log(LOG, "Cookie {} sent", cookieID - 1);
} else {
auto reply = call.createReply();
reply.send();
Debug::log(TRACE, "Uninhibit response sent");
} }
} }