From: Thierry Lorthiois Date: Sat, 7 Aug 2010 12:28:12 +0000 (+0000) Subject: adjust tooltip position (mrovi) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=79f6d152b71f236f32d231e72878b4e3c0c83760;p=chaz%2Ftint2 adjust tooltip position (mrovi) --- 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);