From 4bd0af2ca21d33fc3ea66d33f0a71a9ae4418643 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 27 Jul 2011 19:09:50 +0000 Subject: [PATCH] whoops, forgot to give transparent tooltip an alpha channel SVN revision: 61812 --- src/lib/els_tooltip.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c index a36c377..35fe37c 100644 --- a/src/lib/els_tooltip.c +++ b/src/lib/els_tooltip.c @@ -282,9 +282,15 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt) if (tt->tt_win) { /* FIXME: hardcoded here is bad */ if (!strcmp(style, "transparent")) - elm_win_transparent_set(tt->tt_win, EINA_TRUE); + { + elm_win_alpha_set(tt->tt_win, EINA_TRUE); + elm_win_transparent_set(tt->tt_win, EINA_TRUE); + } else - elm_win_transparent_set(tt->tt_win, EINA_FALSE); + { + elm_win_alpha_set(tt->tt_win, EINA_FALSE); + elm_win_transparent_set(tt->tt_win, EINA_FALSE); + } } str = edje_object_data_get(tt->tooltip, "pad_x"); -- 2.7.4