From 6043b2331f6fb136105a0f304b5d8b7d9466f23e Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 4 Jan 2025 21:14:44 +1000 Subject: [PATCH] Platform: Fix incorrect dbus shared library name Fixes screensaver inhibit on Linux. --- src/util/platform_misc_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/platform_misc_unix.cpp b/src/util/platform_misc_unix.cpp index 0e64f0d82..27af79326 100644 --- a/src/util/platform_misc_unix.cpp +++ b/src/util/platform_misc_unix.cpp @@ -70,7 +70,7 @@ static bool SetScreensaverInhibitDBus(const bool inhibit_requested, const char* Error lerror; s_dbus_library_loaded = true; - if (!s_dbus_library.Open(DynamicLibrary::GetVersionedFilename("dbus", 1).c_str(), &lerror)) + if (!s_dbus_library.Open(DynamicLibrary::GetVersionedFilename("dbus-1").c_str(), &lerror)) { ERROR_LOG("Failed to open libdbus: {}", lerror.GetDescription()); return false;