From 10c05f76c67ce10ccf01816501f681f2a41ba84c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 17 Oct 2017 11:39:04 -0400 Subject: elm_tooltip: set parent window for windowed tooltips wayland popup surfaces must have a parent in order to be visible @fix --- src/lib/elementary/els_tooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/elementary/els_tooltip.c b/src/lib/elementary/els_tooltip.c index 4865d7c9db..84fe835afa 100644 --- a/src/lib/elementary/els_tooltip.c +++ b/src/lib/elementary/els_tooltip.c @@ -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); -- cgit v1.2.1