englebass pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=82e7d1184c8af40f48c3f5e5f24ca38e2df79524
commit 82e7d1184c8af40f48c3f5e5f24ca38e2df79524 Author: Sebastian Dransfeld <s...@tango.flipp.net> Date: Thu Mar 6 10:08:12 2014 +0100 randr: remember crtc in output struct --- src/bin/e_randr.c | 2 ++ src/bin/e_randr.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index d8848cd..a6b81e3 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -1168,12 +1168,14 @@ _e_randr_output_active_set(E_Randr_Output *output, Eina_Bool active) { crtc->outputs = eina_list_append(crtc->outputs, output); + output->crtc = crtc; e_randr->active++; } else { crtc->outputs = eina_list_remove(crtc->outputs, output); + output->crtc = NULL; e_randr->active--; } } diff --git a/src/bin/e_randr.h b/src/bin/e_randr.h index ba45b19..3be52c2 100644 --- a/src/bin/e_randr.h +++ b/src/bin/e_randr.h @@ -50,6 +50,7 @@ struct _E_Randr_Output Eina_Bool active; // if this output is active E_Config_Randr_Output *cfg; + E_Randr_Crtc *crtc; }; struct _E_Randr_Crtc --