okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=271d43b9b06d9a9bd3ce4e5b2051cf143655b6d7

commit 271d43b9b06d9a9bd3ce4e5b2051cf143655b6d7
Author: Stephen Houston <smhousto...@gmail.com>
Date:   Wed Dec 2 17:55:08 2015 -0600

    Ephoto: Release the drag event on mouse up in the single view.
---
 src/bin/ephoto_single_browser.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index b95ec34..4ec1174 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -131,15 +131,15 @@ _image_mouse_up_cb(void *data, Evas *e EINA_UNUSED,
 
    if ((ev->button == 1) && (ev->flags == EVAS_BUTTON_DOUBLE_CLICK))
      {
-         ecore_timer_del(_1s_hold);
-         _1s_hold = NULL;
-         elm_win_fullscreen_set(sb->ephoto->win,
+        elm_win_fullscreen_set(sb->ephoto->win,
             !elm_win_fullscreen_get(sb->ephoto->win));
      }
    else if (ev->button == 3)
      {
         _edit_menu(sb);
      }
+   ecore_timer_del(_1s_hold);
+   _1s_hold = NULL;
 }
 
 static Evas_Object *

-- 


Reply via email to