projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12dc915
)
ecore-drm: Fix output_geometry_get function
author
Chris Michael
<cp.michael@samsung.com>
Tue, 7 Apr 2015 16:32:15 +0000
(12:32 -0400)
committer
Stefan Schmidt
<s.schmidt@samsung.com>
Thu, 9 Apr 2015 15:46:35 +0000
(17:46 +0200)
Summary: This fixes an issue where heights of all outputs would get
added, thus causing the ecore_evas to be created at the wrong size.
Now, the height will be whichever output is larger.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_output.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_output.c
b/src/lib/ecore_drm/ecore_drm_output.c
index
ab7ee31
..
36c4f09
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_output.c
+++ b/
src/lib/ecore_drm/ecore_drm_output.c
@@
-1015,7
+1015,7
@@
ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int *x, int *y, int *w, in
ox += output->x;
oy += output->y;
ow += MAX(ow, output->current_mode->width);
- oh
+
= MAX(oh, output->current_mode->height);
+ oh = MAX(oh, output->current_mode->height);
}
if (x) *x = ox;