*fix* clear tooltip window before redrawing

*fix* all systray icons should be visible also in real transparency mode


git-svn-id: http://tint2.googlecode.com/svn/trunk@310 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2009-12-31 14:20:32 +00:00
parent 2506f4045c
commit 009653db34
2 changed files with 10 additions and 0 deletions

View File

@@ -217,6 +217,7 @@ void tooltip_update()
Color bc = g_tooltip.background_color;
Border b = g_tooltip.border;
if (real_transparency) {
clear_pixmap(g_tooltip.window, 0, 0, width, height);
draw_rect(c, b.width, b.width, width-2*b.width, height-2*b.width, b.rounded-b.width/1.571);
cairo_set_source_rgba(c, bc.color[0], bc.color[1], bc.color[2], bc.alpha);
}