This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 239d989e595e43ff8faa324176955e0bf411f2a9
Author: Carsten Haitzler <[email protected]>
AuthorDate: Tue Jan 17 09:04:25 2023 +0000
randr - fix xrandr cmdline gen to turn screens off too
---
src/bin/e_comp_x_randr.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c
index 3b931fdf2..a9a92a9f5 100644
--- a/src/bin/e_comp_x_randr.c
+++ b/src/bin/e_comp_x_randr.c
@@ -542,7 +542,7 @@ _e_comp_xrandr_cmd(void)
top_priority = s->config.priority;
for (i = 0; i < crtcs_num; i++)
{
- if (!outconf[i])
+ if (!screenconf[i])
{
printf("RRR: crtc slot empty: %i\n", i);
info = ecore_x_randr_crtc_info_get(root,
@@ -564,12 +564,24 @@ _e_comp_xrandr_cmd(void)
}
}
}
+ else
+ {
+ for (i = 0; i < crtcs_num; i++)
+ {
+ if (!screenconf[i])
+ {
+ outconf[i] = 0;
+ screenconf[i] = s;
+ break;
+ }
+ }
+ }
}
}
numout = 0;
for (i = 0; i < crtcs_num; i++)
{
- if (outconf[i]) numout++;
+ if (screenconf[i]) numout++;
}
if (numout)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.