{
if (!ec) return;
- if (!ec->first_mapped)
+ if ((!ec->iconic) && (!e_client_util_ignored_get(ec)))
{
- if ((!ec->iconic) && (!e_client_util_ignored_get(ec)))
+ if (!ec->comp_data->sub.data)
{
- if (!ec->comp_data->sub.data)
- {
- if (ec->post_lower)
- evas_object_lower(ec->frame);
- else if (ec->post_raise)
- evas_object_raise(ec->frame);
+ if (ec->post_lower)
+ evas_object_lower(ec->frame);
+ else if (ec->post_raise)
+ evas_object_raise(ec->frame);
- ec->post_lower = EINA_FALSE;
- ec->post_raise = EINA_FALSE;
- }
+ ec->post_lower = EINA_FALSE;
+ ec->post_raise = EINA_FALSE;
}
-
- ec->first_mapped = 1;
}
+ ec->first_mapped = 1;
+
e_policy_visibility_client_hide_job_cancel(ec);
e_vis_client_check_send_pre_visibility_event(ec, EINA_FALSE);
e_policy_stack_below(ec, below_ec);
- if (!e_client_first_mapped_get(ec))
- e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_FALSE);
+ if ((ec->comp_data) && (!ec->comp_data->mapped))
+ {
+ ELOGF("TZPOL", "POST_RAISE_LOWER SET... raise:%d, lower:%d", ec->pixmap, ec, EINA_FALSE, EINA_FALSE);
+ e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_FALSE);
+ }
e_policy_wl_stack_changed_send(ec);
e_policy_stack_above(ec, above_ec);
- if (!e_client_first_mapped_get(ec))
- e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_FALSE);
+ if ((ec->comp_data) && (!ec->comp_data->mapped))
+ {
+ ELOGF("TZPOL", "POST_RAISE_LOWER SET... raise:%d, lower:%d", ec->pixmap, ec, EINA_FALSE, EINA_FALSE);
+ e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_FALSE);
+ }
}
static void
evas_object_raise(ec->frame);
- if (!e_client_first_mapped_get(ec))
- e_client_post_raise_lower_set(ec, EINA_TRUE, EINA_FALSE);
+ if ((ec->comp_data) && (!ec->comp_data->mapped))
+ {
+ ELOGF("TZPOL", "POST_RAISE_LOWER SET... raise:%d, lower:%d", ec->pixmap, ec, EINA_TRUE, EINA_FALSE);
+ e_client_post_raise_lower_set(ec, EINA_TRUE, EINA_FALSE);
+ }
}
static void
evas_object_lower(ec->frame);
- if (!e_client_first_mapped_get(ec))
- e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_TRUE);
+ if ((ec->comp_data) && (!ec->comp_data->mapped))
+ {
+ ELOGF("TZPOL", "POST_RAISE_LOWER SET... raise:%d, lower:%d", ec->pixmap, ec, EINA_FALSE, EINA_TRUE);
+ e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_TRUE);
+ }
if (ec->focused)
e_client_revert_focus(ec);
ELOGF("TZPOL", "LOWER by res id:%d", ec->pixmap, ec, res_id);
evas_object_lower(ec->frame);
- if (!e_client_first_mapped_get(ec))
- e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_TRUE);
+ if ((ec->comp_data) && (!ec->comp_data->mapped))
+ {
+ ELOGF("TZPOL", "POST_RAISE_LOWER SET... raise:%d, lower:%d", ec->pixmap, ec, EINA_FALSE, EINA_TRUE);
+ e_client_post_raise_lower_set(ec, EINA_FALSE, EINA_TRUE);
+ }
}
// --------------------------------------------------------