From: SooChan Lim Date: Tue, 15 Dec 2020 10:48:57 +0000 (+0900) Subject: e_comp_wl: remove the useless condition X-Git-Tag: submit/tizen/20201219.005909~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F249619%2F3;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl: remove the useless condition e_client_has_xwindow(ec) always returns false. Change-Id: I95f871d2925825e7d39f0f9e5d43c3a53e8a4032 --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index d194d5e138..72b029e72d 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -4417,7 +4417,7 @@ e_comp_wl_surface_commit(E_Client *ec) ELOGF("COMP", "Try to unmap2. Call shell.unmap.", ec); ec->comp_data->shell.unmap(ec->comp_data->shell.surface); } - else if (e_client_has_xwindow(ec) || ec->internal || ec->comp_data->sub.data || + else if (ec->internal || ec->comp_data->sub.data || (ec == e_comp_wl->drag_client)) { ELOGF("COMP", "Try to unmap2. Hide window. internal:%d, sub:%p, drag:%d", @@ -4441,7 +4441,7 @@ e_comp_wl_surface_commit(E_Client *ec) ELOGF("COMP", "Try to map2. Call shell.map.", ec); ec->comp_data->shell.map(ec->comp_data->shell.surface); } - else if (e_client_has_xwindow(ec) || ec->internal || e_comp_wl_subsurface_can_show(ec) || + else if (ec->internal || e_comp_wl_subsurface_can_show(ec) || (ec == e_comp_wl->drag_client)) { ELOGF("COMP", "Try to map2. Show window. internal:%d, drag:%d",