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 in e_comp_intercept_focus.
this patch fix it with check buffer_flush before doing revert_focus.
Change-Id: I0f4932364f0444d544c67c12cd46ece5d32fd994
if (e_config->focus_policy_ext == E_FOCUS_EXT_TOP_STACK)
{
focus_ec = _e_client_focus_topmost_focusable_get();
- ELOGF("FOCUS", "focus set | topmost_focus", focus_ec);
- e_client_frame_focus_set(focus_ec, EINA_TRUE);
+ if (!focus_ec->iconic || focus_ec->exp_iconify.buffer_flush)
+ {
+ ELOGF("FOCUS", "focus set | topmost_focus", focus_ec);
+ e_client_frame_focus_set(focus_ec, EINA_TRUE);
+ }
return;
}