From: Doyoun Kang Date: Tue, 25 Feb 2020 06:01:16 +0000 (+0900) Subject: e_comp_wl_shell: check ec->bg_state flag before sending pre-unobscured visibility... X-Git-Tag: submit/tizen/20200304.075907^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4efb98006e702327d1ea156d0623c4eb814983d;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_shell: check ec->bg_state flag before sending pre-unobscured visibility event There was a bug that the application state changed to resume state by pre-unobscured event when using background launching. So, we changed code not to send pre-unobscured event when the window set the bg_state. Change-Id: I088621a6b069d925a862afaed438b720df9ae666 --- diff --git a/src/bin/e_comp_wl_shell.c b/src/bin/e_comp_wl_shell.c index 26be56eb84..16377fdb07 100644 --- a/src/bin/e_comp_wl_shell.c +++ b/src/bin/e_comp_wl_shell.c @@ -784,7 +784,7 @@ _e_shell_client_map_common_post(E_Client *ec) ec->first_mapped = 1; e_policy_visibility_client_hide_job_cancel(ec); - if (!(ec->iconic && ec->exp_iconify.by_client)) + if (!(ec->iconic && ec->exp_iconify.by_client) && !ec->bg_state) e_vis_client_check_send_pre_visibility_event(ec, EINA_FALSE); ELOGF("COMP", "Un-Set launching flag", ec);