diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-17 11:39:04 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-25 10:44:16 -0400 |
commit | 10c05f76c67ce10ccf01816501f681f2a41ba84c (patch) | |
tree | 5690f872892677b46c64a00568cb7e1c3faa42bb /src/lib/elementary | |
parent | f375661e0b4199a06234da8ab277a876f4c7778a (diff) |
elm_tooltip: set parent window for windowed tooltips
wayland popup surfaces must have a parent in order to be visible
@fix
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/els_tooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
163 | } | 163 | } |
164 | if (tt->free_size) | 164 | if (tt->free_size) |
165 | { | 165 | { |
166 | tt->tt_win = elm_win_add(NULL, "tooltip", ELM_WIN_TOOLTIP); | 166 | tt->tt_win = elm_win_add(elm_win_get(tt->owner), "tooltip", ELM_WIN_TOOLTIP); |
167 | elm_win_override_set(tt->tt_win, EINA_TRUE); | 167 | elm_win_override_set(tt->tt_win, EINA_TRUE); |
168 | tt->tt_evas = evas_object_evas_get(tt->tt_win); | 168 | tt->tt_evas = evas_object_evas_get(tt->tt_win); |
169 | tt->tooltip = edje_object_add(tt->tt_evas); | 169 | tt->tooltip = edje_object_add(tt->tt_evas); |