projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18cc222
)
remove impossible/unnecessary randr rotation checks
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 4 Apr 2014 18:06:59 +0000
(14:06 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 4 Apr 2014 19:04:28 +0000
(15:04 -0400)
CID
1039944
src/modules/conf_randr/e_smart_monitor.c
patch
|
blob
|
history
diff --git
a/src/modules/conf_randr/e_smart_monitor.c
b/src/modules/conf_randr/e_smart_monitor.c
index d34d2564770bcaef134dd1af2af45e6361023d44..1b596935182b62e231dc1d9adbd64b23a586a63c 100644
(file)
--- 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;