From ac6f9e38dc2e4f8fd03734f5921e4e74c1b27d97 Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Fri, 29 Mar 2019 16:41:12 +0900 Subject: [PATCH] e_client: check buffer_flush during revert_focus there is bug that didn't send iconic_state_changed event to client. if the client has buffer_flush off, that the client can uniconify without send iconic_state_changed event. this patch fix it with check buffer_flush before doing revert_focus. Change-Id: I33dd62a0f5cdc43b804b2f5196fbfac671835266 --- src/bin/e_client.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 1f5c314..6aac08d 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -917,8 +917,11 @@ e_client_revert_focus(E_Client *ec) ELOGF("FOCUS", "focus unset | revert_focus", ec); evas_object_focus_set(ec->frame, EINA_FALSE); } - ELOGF("FOCUS", "focus set | revert_focus", focus_ec); - evas_object_focus_set(focus_ec->frame, EINA_TRUE); + if (!focus_ec->iconic || focus_ec->exp_iconify.buffer_flush) + { + ELOGF("FOCUS", "focus set | revert_focus", focus_ec); + evas_object_focus_set(focus_ec->frame, EINA_TRUE); + } } } -- 2.7.4