rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=101e2156fedc31d18dcda7a59d51d624381010cb

commit 101e2156fedc31d18dcda7a59d51d624381010cb
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Fri Mar 25 10:29:46 2016 +0200

    shortcuts: fix issue fith blocking popups
    
    we should add hotkey to list of pressed before handling it beacause of
    blocking popup that makes mainloop iterations inside and can handle unpress
    before exiting press callback
---
 src/bin/ui/shortcuts/shortcuts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/shortcuts/shortcuts.c b/src/bin/ui/shortcuts/shortcuts.c
index 47f63b5..3c1785b 100644
--- a/src/bin/ui/shortcuts/shortcuts.c
+++ b/src/bin/ui/shortcuts/shortcuts.c
@@ -235,9 +235,9 @@ _key_press_event_cb(void *data __UNUSED__, int type 
__UNUSED__, void *event)
         shortcut = eina_list_search_sorted(ap.shortcuts->shortcuts, 
(Eina_Compare_Cb)_shortcut_cmp, &sc);
         if (shortcut)
           {
-             _shortcut_handle(shortcut->type_press);
              ap.shortcuts->held_shortcuts = 
eina_list_sorted_insert(ap.shortcuts->held_shortcuts,
                                                                     
(Eina_Compare_Cb)_shortcut_cmp, shortcut);
+             _shortcut_handle(shortcut->type_press);
              if (shortcut->type_press != SHORTCUT_TYPE_NONE)
                return ECORE_CALLBACK_DONE;
           }

-- 


Reply via email to