projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8309019
)
mapbuf: correctly get the viewport size.
author
Cedric Bail
<cedric.bail@samsung.com>
Mon, 22 Apr 2013 05:04:01 +0000
(14:04 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Fri, 3 May 2013 07:07:06 +0000
(16:07 +0900)
src/lib/elm_mapbuf.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_mapbuf.c
b/src/lib/elm_mapbuf.c
index
9c55d83
..
413ebef
100644
(file)
--- a/
src/lib/elm_mapbuf.c
+++ b/
src/lib/elm_mapbuf.c
@@
-144,7
+144,7
@@
_mapbuf_auto_eval(Evas_Object *obj)
vis = evas_object_visible_get(obj);
evas_object_geometry_get(obj, &x, &y, &w, &h);
- evas_output_viewport_get(
obj
, &vx, &vy, &vw, &vh);
+ evas_output_viewport_get(
evas_object_evas_get(obj)
, &vx, &vy, &vw, &vh);
if ((vis) && (ELM_RECTS_INTERSECT(x, y, w, h, vx, vy, vw, vh)))
on = EINA_TRUE;
elm_mapbuf_enabled_set(obj, on);