discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 84ba19d57667ec115e4469e4af1d7152bd0b15ae
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jun 29 15:26:08 2015 -0400

    stop rejecting possibly-valid x11 focus events
    
    fixes case where window assumes focus without wm interaction
---
 src/bin/e_comp_x.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 8df7063..30bd64a 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2421,11 +2421,7 @@ _e_comp_x_focus_in(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_W
     * these result from iconifying a client during a grab */
    if (ec->iconic) return ECORE_CALLBACK_RENEW;
 
-   /* block spurious focus events
-    * not sure if correct, but seems necessary to use pointer focus...
-    */
    focused = e_client_focused_get();
-   if (focused && (ec != focused)) return ECORE_CALLBACK_RENEW;
 
    _e_comp_x_client_pri_raise(ec);
    if (ev->mode == ECORE_X_EVENT_MODE_GRAB)

-- 


Reply via email to