From bbf29c6a2a376bf016f948aafa9bdfa08a008e55 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Feb 2014 14:56:16 -0500 Subject: [PATCH] only set want_focus for non-hidden clients when deferring focus setting T950 --- src/bin/e_comp_object.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 12ef0068d..5728ebe8a 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1385,8 +1385,9 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus) if (!cw->visible) { /* not yet visible, wait till the next time... */ - ec->want_focus = 1; - EC_CHANGED(ec); + ec->want_focus = !ec->hidden; + if (ec->want_focus) + EC_CHANGED(ec); return; } e_client_focused_set(ec);