powerdevil/powerdevil-5.27.10-ddcutil-2.1.0.patch

13 lines
825 B
Diff
Raw Normal View History

diff -Nru powerdevil-5.27.10.orig/daemon/backends/upower/ddcutilbrightness.cpp powerdevil-5.27.10/daemon/backends/upower/ddcutilbrightness.cpp
--- powerdevil-5.27.10.orig/daemon/backends/upower/ddcutilbrightness.cpp 2023-12-05 20:23:32.000000000 +0100
+++ powerdevil-5.27.10/daemon/backends/upower/ddcutilbrightness.cpp 2024-01-25 21:54:50.855340922 +0100
@@ -49,7 +49,7 @@
qCDebug(POWERDEVIL) << "Check for monitors using ddca_get_displays()...";
// Inquire about detected monitors.
DDCA_Display_Info_List * dlist = nullptr;
- ddca_get_display_info_list2(true, &dlist);
+ ddca_get_display_info_list2(false, &dlist);
qCInfo(POWERDEVIL) << "[DDCutilBrightness] " << dlist->ct << "display(s) were detected";
for (const DDCA_Display_Handle displayHandle : std::as_const(m_displayHandleList)) {