discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a372e5ba1b248c36db4cc00c7ea12f6ab326da12

commit a372e5ba1b248c36db4cc00c7ea12f6ab326da12
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jan 22 16:31:07 2016 -0500

    disable bindings during wayland screenshot operations
    
    recursive action activation is very bad.
---
 src/modules/shot/e_mod_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index 1663a9e..dfec8f9 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -955,6 +955,7 @@ _wl_shot_now(E_Zone *zone, E_Client *ec, const char *params)
 
    shm = e_comp_wl->wl.shm ?: 
ecore_wl2_display_shm_get(e_comp_wl->wl.client_disp);
 
+   e_bindings_disabled_set(1);
    EINA_LIST_FOREACH(_outputs, l, output)
      {
         if ((!zone) &&
@@ -971,6 +972,7 @@ _wl_shot_now(E_Zone *zone, E_Client *ec, const char *params)
         while (!copy_done)
           ecore_main_loop_iterate();
      }
+   e_bindings_disabled_set(0);
 
    bstride = sw * sizeof(int);
    dst = malloc(bstride * sh);

-- 


Reply via email to