elm_tooltip: set parent window for windowed tooltips

wayland popup surfaces must have a parent in order to be visible

@fix
This commit is contained in:
Mike Blumenkrantz 2017-10-17 11:39:04 -04:00
parent f375661e0b
commit 10c05f76c6
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ _elm_tooltip_show(Elm_Tooltip *tt)
}
if (tt->free_size)
{
tt->tt_win = elm_win_add(NULL, "tooltip", ELM_WIN_TOOLTIP);
tt->tt_win = elm_win_add(elm_win_get(tt->owner), "tooltip", ELM_WIN_TOOLTIP);
elm_win_override_set(tt->tt_win, EINA_TRUE);
tt->tt_evas = evas_object_evas_get(tt->tt_win);
tt->tooltip = edje_object_add(tt->tt_evas);