From 35b94d7acdeb2ed1111792fa407cc7fb27e4e4de Mon Sep 17 00:00:00 2001 From: thilor77 Date: Sat, 7 Aug 2010 12:28:12 +0000 Subject: [PATCH] adjust tooltip position (mrovi) git-svn-id: http://tint2.googlecode.com/svn/trunk@525 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- src/tooltip/tooltip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tooltip/tooltip.c b/src/tooltip/tooltip.c index eb880dd..a57883d 100644 --- a/src/tooltip/tooltip.c +++ b/src/tooltip/tooltip.c @@ -134,6 +134,9 @@ void tooltip_update_geometry() else x = panel->posx - width; + if (!panel_horizontal) + y -= height/2; + g_object_unref(layout); cairo_destroy(c); cairo_surface_destroy(cs);