if accepts_focus set TRUE in xdg_shell_toplevel_set can occure timing issue with focus_skip_set.
in evas_object_show, xdg_shell_toplevel_set is always set the accepts_focus to TRUE
if visibility calculation occurs before processing tizen_policy_set_focus_skip, focus will be in&out quickly.
this patch fix the issue.
Change-Id: I9441770a0c050899da32896833174dd4db709f4b
if ((!ec->client.w) && (ec->client.h))
ec->client.w = ec->client.h = 1;
ec->comp_data->surface = res;
+ ec->icccm.accepts_focus = 1;
}
/* set reference to pixmap so we can fetch it later */
ELOGF("SHELL", "Set toplevel", ec->pixmap, ec);
/* set toplevel client properties */
- ec->icccm.accepts_focus = 1;
if (!ec->internal)
ec->borderless = 1;
ec->lock_border = EINA_TRUE;