devilhorns pushed a commit to branch master.

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

commit 09592f57ffc3a504c86fa68a24707d59c6d2728d
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jul 1 12:17:54 2015 -0400

    e_grabinput: Don't call ecore_x functions if we are not an X compositor
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_grabinput.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_grabinput.c b/src/bin/e_grabinput.c
index a0ca5a8..abd6049 100644
--- a/src/bin/e_grabinput.c
+++ b/src/bin/e_grabinput.c
@@ -198,6 +198,12 @@ e_grabinput_mouse_win_get(void)
 static Eina_Bool
 _e_grabinput_focus_check(void *data EINA_UNUSED)
 {
+   if (e_comp->comp_type != E_PIXMAP_TYPE_X)
+     {
+        focus_fix_timer = NULL;
+        return EINA_FALSE;
+     }
+
    if (ecore_x_window_focus_get() != focus_fix_win)
      {
         /* fprintf(stderr, "foc do 2\n"); */

-- 


Reply via email to