From aa32ef87f95f9d0e885fbeba7509a2fb6749b615 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 29 Jun 2015 15:26:08 -0400 Subject: [PATCH] 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 90c307d..ea91632 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -2544,11 +2544,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) -- 2.7.4