If the window type is dialog and it doesn't have a parent,
then its layer is set to higher than normal window.
Change-Id: I4c1a651a4f1608c61b160128e9576478a5e66c02
evas_object_layer_set(ec->frame, ec->layer);
}
}
+
+ if (e_policy_client_is_dialog(ec))
+ {
+ if (ec->frame && !ec->parent)
+ {
+ if (ec->layer != E_POLICY_DIALOG_LAYER)
+ evas_object_layer_set(ec->frame, E_POLICY_DIALOG_LAYER);
+ }
+ }
+
if (e_policy_client_is_floating(ec))
{
if (ec->frame)
# define E_POLICY_FLOATING_LAYER E_LAYER_CLIENT_PRIO
/* layer level - E_LAYER_CLIENT_FULLSCREEN (350) */
+
/* layer level - E_LAYER_CLIENT_ABOVE (250) */
+# define E_POLICY_DIALOG_LAYER E_LAYER_CLIENT_ABOVE
+
/* layer level - E_LAYER_CLIENT_NORMAL (200) */
/* layer level - E_LAYER_CLIENT_BELOW (150) */