all repos — tint2 @ 04a4131d2373b5220f6b33306a2c8505db0359b0

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

remove duplicate call on tooltip_update

git-svn-id: http://tint2.googlecode.com/svn/trunk@247 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

04a4131d2373b5220f6b33306a2c8505db0359b0

parent

140f32e28e67a6b9179951938b8fdf4b6683b327

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/tooltip/tooltip.csrc/tooltip/tooltip.c

@@ -117,7 +117,7 @@ {

if (!g_tooltip.mapped) { g_tooltip.mapped = True; XMapWindow(server.dsp, g_tooltip.window); - tooltip_update(); + //tooltip_update(); alarm(0); } }

@@ -147,9 +147,7 @@ else if (panel_position & LEFT)

x = panel->posx + panel->area.width; else x = panel->posx - width; - - //printf("tooltip_update_geometry x_root %d, y_root %d\n", x, y); - //printf(" panel posx %d, posy %d\n", panel->posx, panel->posy); + g_object_unref(layout); cairo_destroy(c); cairo_surface_destroy(cs);

@@ -200,7 +198,6 @@ if (y<min_y)

y=min_y; if (height>max_height) height=max_height; - //printf("tooltip_adjust_geometry x_root %d, y_root %d\n", x, y); } void tooltip_update()

@@ -210,6 +207,7 @@ tooltip_hide();

return; } + //printf("tooltip_update\n"); tooltip_update_geometry(); tooltip_adjust_geometry(); XMoveResizeWindow(server.dsp, g_tooltip.window, x, y, width, height);