princeamd pushed a commit to branch enlightenment-0.17.

commit a75407c53873e3211dc8ae923dcd9ba4005c7fff
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:56:58 2013 +0000

    Backport: b12e6c9 :: Add note about screen_reset.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84154
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/bin/e_randr.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index 5a93ad9..fe06da2 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -34,7 +34,11 @@ e_randr_init(void)
         return EINA_FALSE;
      }
 
-   /* try to restore settings */
+   /* try to restore settings
+    * 
+    * NB: When we restore, check the resolutions (current vs saved)
+    * and if there is no change then we do not need to call 
+    * screen_reset as this triggers a full comp refresh */
 
    /* tell randr that we are interested in receiving events
     * 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to