jpeg pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b5e2191ea43447b04f3c155f326d2a2bdb8ae148
commit b5e2191ea43447b04f3c155f326d2a2bdb8ae148 Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Mon Apr 6 22:44:30 2015 +0900 elm_glview: Call resize func whenever the surface is updated This will allow apps to set the proper viewport, even if the actual surface geometry didn't change. This fixes a rare situation where the mode is changed from indirect to direct (eg. in elm_test glview). --- src/lib/elm_glview.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c index fb6a12f..0c4e643 100644 --- a/src/lib/elm_glview.c +++ b/src/lib/elm_glview.c @@ -79,6 +79,9 @@ _glview_update_surface(Evas_Object *obj) evas_gl_native_surface_get(sd->evasgl, sd->surface, &ns); evas_object_image_native_surface_set(wd->resize_obj, &ns); elm_glview_changed_set(obj); + + // fake a resize event so that clients can reconfigure their viewport + sd->resized = EINA_TRUE; } EOLIAN static void --