From 79f6d152b71f236f32d231e72878b4e3c0c83760 Mon Sep 17 00:00:00 2001 From: Thierry Lorthiois Date: Sat, 7 Aug 2010 12:28:12 +0000 Subject: [PATCH] adjust tooltip position (mrovi) --- 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); -- 2.45.2