*fix* calculate right struts for multiple monitors. fixes issue 148 and issue 178

*fix* uninstall all timers on reconfiguring



git-svn-id: http://tint2.googlecode.com/svn/trunk@291 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2009-12-22 13:37:13 +00:00
parent c46e1341aa
commit dae6ee07f9
5 changed files with 25 additions and 8 deletions

View File

@@ -60,10 +60,8 @@ void init_tooltip()
if (!g_tooltip.font_desc)
g_tooltip.font_desc = pango_font_description_from_string("sans 10");
if (g_tooltip.show_timer_id == 0)
g_tooltip.show_timer_id = install_timer(0, 0, 0, 0, tooltip_show);
if (g_tooltip.hide_timer_id == 0)
g_tooltip.hide_timer_id = install_timer(0, 0, 0, 0, tooltip_hide);
g_tooltip.show_timer_id = install_timer(0, 0, 0, 0, tooltip_show);
g_tooltip.hide_timer_id = install_timer(0, 0, 0, 0, tooltip_hide);
XSetWindowAttributes attr;
attr.override_redirect = True;