Skip to content

Commit

Permalink
Platform: Fix incorrect dbus shared library name
Browse files Browse the repository at this point in the history
Fixes screensaver inhibit on Linux.
  • Loading branch information
stenzek committed Jan 4, 2025
1 parent 886040b commit 6043b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/platform_misc_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6043b23

Please # to comment.