discomfitor pushed a commit to branch master.

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

commit cb9ab4e1f438010cf0ed29a2f49d93645e35b56d
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Apr 29 17:02:36 2015 -0400

    freeze evas events on clients during keyboard move/resize actions
    
    fix T2112
---
 src/bin/e_client.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 8310f52..48d95cf 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -389,6 +389,8 @@ _e_client_action_finish(void)
    if (comp_grabbed)
      _e_client_action_input_win_del();
 
+   if (action_handler_key && action_client)
+     evas_object_freeze_events_set(action_client->frame, 0);
    E_FREE_FUNC(action_timer, ecore_timer_del);
    E_FREE_FUNC(action_handler_key,  ecore_event_handler_del);
    E_FREE_FUNC(action_handler_mouse, ecore_event_handler_del);
@@ -4165,6 +4167,7 @@ e_client_act_move_keyboard(E_Client *ec)
    _e_client_action_init(ec);
    _e_client_action_move_timeout_add();
    if (!_e_client_hook_call(E_CLIENT_HOOK_MOVE_UPDATE, ec)) return;
+   evas_object_freeze_events_set(ec->frame, 1);
 
    if (!action_handler_key)
      action_handler_key = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, 
_e_client_move_key_down, NULL);
@@ -4185,6 +4188,7 @@ e_client_act_resize_keyboard(E_Client *ec)
 
    _e_client_action_init(ec);
    _e_client_action_resize_timeout_add();
+   evas_object_freeze_events_set(ec->frame, 1);
 
    if (!action_handler_key)
      action_handler_key = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, 
_e_client_resize_key_down, NULL);

-- 


Reply via email to