]> Dogcows Code - chaz/tint2/commitdiff
adjust tooltip position (mrovi)
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 7 Aug 2010 12:28:12 +0000 (12:28 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 7 Aug 2010 12:28:12 +0000 (12:28 +0000)
src/tooltip/tooltip.c

index eb880dd721107574544e8029ec4b487f673bd5b5..a57883d6d11c9d04f7ca5ec1bb13747fd558a074 100644 (file)
@@ -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);
This page took 0.026763 seconds and 4 git commands to generate.