adjust tooltip position (mrovi)
git-svn-id: http://tint2.googlecode.com/svn/trunk@525 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -134,6 +134,9 @@ void tooltip_update_geometry()
|
|||||||
else
|
else
|
||||||
x = panel->posx - width;
|
x = panel->posx - width;
|
||||||
|
|
||||||
|
if (!panel_horizontal)
|
||||||
|
y -= height/2;
|
||||||
|
|
||||||
g_object_unref(layout);
|
g_object_unref(layout);
|
||||||
cairo_destroy(c);
|
cairo_destroy(c);
|
||||||
cairo_surface_destroy(cs);
|
cairo_surface_destroy(cs);
|
||||||
|
|||||||
Reference in New Issue
Block a user