whoops, forgot to give transparent tooltip an alpha channel
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jul 2011 19:09:50 +0000 (19:09 +0000)
committerMike McCormack <mj.mccormack@samsung.com>
Wed, 23 Nov 2011 00:55:34 +0000 (09:55 +0900)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@61812 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/els_tooltip.c

index 4cf2c74..fd9797c 100644 (file)
@@ -274,9 +274,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");