englebass pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f92f1ff4cce4549c40003ed8082ea90dba182d5b

commit f92f1ff4cce4549c40003ed8082ea90dba182d5b
Author: Sebastian Dransfeld <[email protected]>
Date:   Wed Dec 17 10:35:54 2014 +0100

    randr: TODO++ and error print
---
 src/bin/e_randr.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index 7a92759..866a649 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -647,11 +647,14 @@ _e_randr_apply(void)
                   Eina_Bool ok;
 
                   ok = EINA_TRUE;
+                  /* TODO: This is wrong, one output shouldn't be twice in 
crtc list */
                   for (i = 0; i < count; i++)
                     {
                        if (coutputs[i] == output->xid)
                          {
                             ok = EINA_FALSE;
+                            printf("RRR:  Error, same output twice on crtc.");
+                            printf(" output: '%s' lid: %i active: %i status: 
%i\n", output->name, output->is_lid, output->active, output->status);
                             break;
                          }
                     }
@@ -1027,6 +1030,7 @@ _e_randr_config_output_find(E_Randr_Output *output)
    E_Config_Randr_Output *output_cfg;
    char b1[4096], b2[4096];
 
+   /* TODO: We should not match outputs with unknown name and edid */
    snprintf(b1, sizeof(b1), "%s.%s",
             output->name ? output->name : "???",
             output->edid ? output->edid : "???");

-- 


Reply via email to