okra pushed a commit to branch master. http://git.enlightenment.org/apps/ephoto.git/commit/?id=cc4a7ed0cb245606301b29d0978e6f5ea7b978ed
commit cc4a7ed0cb245606301b29d0978e6f5ea7b978ed Author: Stephen Houston <smhousto...@gmail.com> Date: Thu Aug 27 17:59:19 2015 -0500 Ephoto: Fix bug where slideshow continues running in background on mouse down. --- src/bin/ephoto_slideshow.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/bin/ephoto_slideshow.c b/src/bin/ephoto_slideshow.c index c9b661d..b1ea584 100644 --- a/src/bin/ephoto_slideshow.c +++ b/src/bin/ephoto_slideshow.c @@ -45,7 +45,21 @@ static void _mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { Ephoto_Slideshow *ss = data; - evas_object_smart_callback_call(ss->slideshow, "back", ss->entry); + Evas_Object *win = ss->ephoto->win; + Elm_Object_Item *slideshow_item; + Ephoto_Entry *entry; + + if (elm_win_fullscreen_get(win)) + { + elm_win_fullscreen_set(win, EINA_FALSE); + return; + } + + slideshow_item = elm_slideshow_item_current_get(ss->slideshow); + if (slideshow_item) entry = elm_object_item_data_get(slideshow_item); + else entry = ss->entry; + evas_object_smart_callback_call(ss->slideshow, "back", entry); + elm_slideshow_clear(ss->slideshow); } static void --