From 4d2fb9e73eb6b75336ed3eb198e900f94ada24f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:39:20 +0100 Subject: [PATCH] core: handleDbusScreensaver must return uint32 (#98) --- src/core/Hypridle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Hypridle.cpp b/src/core/Hypridle.cpp index 4de0a42..8c85e9d 100644 --- a/src/core/Hypridle.cpp +++ b/src/core/Hypridle.cpp @@ -430,7 +430,7 @@ static void handleDbusBlockInhibitsPropertyChanged(sdbus::Message msg) { } } -static int handleDbusScreensaver(std::string app, std::string reason, uint32_t cookie, bool inhibit, const char* sender) { +static uint32_t handleDbusScreensaver(std::string app, std::string reason, uint32_t cookie, bool inhibit, const char* sender) { std::string ownerID = sender; if (!inhibit) {