discomfitor pushed a commit to branch master.

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

commit b82ef283329eb2dc5bad0f2b2c3ebd3b845e0f35
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 4 14:06:59 2014 -0400

    remove impossible/unnecessary randr rotation checks
    
    CID 1039944
---
 src/modules/conf_randr/e_smart_monitor.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index d34d256..1b59693 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -1900,9 +1900,6 @@ _e_smart_monitor_orientation_get(int rotation)
    else if (((rotation - ROTATE_FUZZ) <= 270) ||
             ((rotation + ROTATE_FUZZ) <= 270))
      return ECORE_X_RANDR_ORIENTATION_ROT_270;
-   else if (((rotation - ROTATE_FUZZ) < 360) ||
-            ((rotation + ROTATE_FUZZ) < 360))
-     return ECORE_X_RANDR_ORIENTATION_ROT_0;
 
    /* return a default */
    return ECORE_X_RANDR_ORIENTATION_ROT_0;

-- 


Reply via email to