- ec->visible is only check this ec is mapped or not
- visible window status is always E_VISIBILITY_UNOBSCURED
Change-Id: I4f86ec83cc548e2b06d527bb91d3a58b7bad4c23
while (ec_top)
{
- if (!ec_top->visible && ec_top == ec_focus)
- {
- KLDBG("Top e_client (%p) is invisible(%d) but focus client", ec_top, ec_top->visible);
- return EINA_FALSE;
- }
- if (!ec_top->visible)
+ if (ec_top->visibility.obscured != E_VISIBILITY_UNOBSCURED)
{
+ if (ec_top == ec_focus)
+ {
+ KLDBG("Top e_client (%p) is invisible(%d) but focus client", ec_top, ec_top->visible);
+ return EINA_FALSE;
+ }
ec_top = e_client_below_get(ec_top);
continue;
}