This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch make-bluez-bat-reappear
in repository enlightenment.
View the commit online.
commit 9d4d9a38e50088c4e544a928e12b48799fa42ae8
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sat Jun 14 12:41:54 2025 +0100
system -ddc - redetect displays on probe
i should reddetect displays on probe otherwise ddcutil keeps internal
state on its implicit detect it does to start with and we won't detect
newly plugged in displays!
@fix
---
src/bin/system/e_system_ddc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/bin/system/e_system_ddc.c b/src/bin/system/e_system_ddc.c
index 5e9bdd0ce..7ec638904 100644
--- a/src/bin/system/e_system_ddc.c
+++ b/src/bin/system/e_system_ddc.c
@@ -224,6 +224,8 @@ struct {
(double multiplier);
bool (*ddca_enable_sleep_suppression)
(bool newval);
+ DDCA_Status (*ddca_redetect_displays)
+ (void);
} ddc_func;
static DDCA_Display_Info_List *ddc_dlist = NULL;
@@ -270,6 +272,7 @@ _ddc_probe(void)
// the below can be quite sluggish, so we don't want to do this
// often, even though this is isolated in a worker thread. it will
// block the ddc worker thread while this is done.
+ if (ddc_func.ddca_redetect_displays) ddc_func.ddca_redetect_displays();
if (ddc_func.ddca_get_display_info_list2(false, &ddc_dlist) != 0) goto err;
if (!ddc_dlist) goto err;
ddc_dh = calloc(ddc_dlist->ct, sizeof(DDCA_Display_Handle));
@@ -362,6 +365,7 @@ _ddc_init(void)
} while (0)
SYM_OPT(ddca_set_global_sleep_multiplier);
SYM_OPT(ddca_enable_sleep_suppression);
+ SYM_OPT(ddca_redetect_displays);
// brute force modprobe this as it likely is needed - probe will fail
// if this doesn't work or find devices anyway
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.