princeamd pushed a commit to branch enlightenment-0.17.

commit fb124fe454e9ab8a88f45f2dfd6a7e1305a5e27e
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 26 11:06:01 2013 +0000

    Backport: dce3e8f7 :: Skip refresh rate checks during resize.
    
    Some people have reported that resizing is difficult, or that they
    could not get to the max resolution of their monitor(s). Skipping the
    refresh rate check during resolution finding fixes that ... With a big
    fat Gotcha !!! because now after changing resolutions, the refresh
    rate May not match what was previously selected....
    
    So, as a word of CAUTION: After you set a resolution you should now
    Verify your Refresh Rate before Applying, else you may be getting an
    undesirable rate :/
    
    Signed-off-by: Christopher Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_smart_monitor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index 8630c4b..d3814fe 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -2054,10 +2054,10 @@ _e_smart_monitor_resize_event(E_Smart_Data *sd, 
Evas_Object *mon, void *event)
    if ((sd->current.orient == ECORE_X_RANDR_ORIENTATION_ROT_0) || 
        (sd->current.orient == ECORE_X_RANDR_ORIENTATION_ROT_180))
      mode = _e_smart_monitor_mode_find(sd, sd->current.w, 
-                                       sd->current.h, EINA_FALSE);
+                                       sd->current.h, EINA_TRUE);
    else
      mode = _e_smart_monitor_mode_find(sd, sd->current.h, 
-                                       sd->current.w, EINA_FALSE);
+                                       sd->current.w, EINA_TRUE);
 
    if (mode)
      {

-- 

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

Build for Windows Store.

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

Reply via email to