elementary/mapbuf - update map necessarily.
authorChunEon Park <hermet@hermet.pe.kr>
Fri, 20 Dec 2013 11:15:16 +0000 (20:15 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Fri, 20 Dec 2013 11:15:16 +0000 (20:15 +0900)
if the mapbuf is hidden, then there is no need to update map info.

src/lib/elm_mapbuf.c

index 9463ea9..f87fe11 100644 (file)
@@ -99,6 +99,7 @@ _configure(Evas_Object *obj)
    static Evas_Map *m = NULL;
 
    if (!sd->content) return;
+   if (sd->enabled && !evas_object_visible_get(obj)) return;
 
    Evas_Coord x, y, w, h;
    evas_object_geometry_get(wd->resize_obj, &x, &y, &w, &h);