From a4efb98006e702327d1ea156d0623c4eb814983d Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Tue, 25 Feb 2020 15:01:16 +0900 Subject: [PATCH] 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 --- src/bin/e_comp_wl_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1