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:
571a696
)
apply a tighter clamp to internal window autosize
author
Mike Blumenkrantz
<zmike@samsung.com>
Mon, 9 Jun 2014 20:15:15 +0000
(16:15 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Mon, 9 Jun 2014 20:15:15 +0000
(16:15 -0400)
src/bin/e_utils.c
patch
|
blob
|
history
diff --git
a/src/bin/e_utils.c
b/src/bin/e_utils.c
index
a23cfe6
..
6f66ca8
100644
(file)
--- a/
src/bin/e_utils.c
+++ b/
src/bin/e_utils.c
@@
-823,7
+823,11
@@
_win_auto_size_calc(int max, int min)
{
int value = *itr * max;
if (value > min) /* not >=, try a bit larger */
- return value;
+ {
+ if (min > 10)
+ value = E_CLAMP(value, min, min * 1.5);
+ return value;
+ }
}
return min;