*fix* tooltip hide fixed

*fix* hopefully unnecessary code removed



git-svn-id: http://tint2.googlecode.com/svn/trunk@200 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2009-09-27 08:06:31 +00:00
parent f3c9534f9a
commit fe2dde30db
2 changed files with 22 additions and 22 deletions

View File

@@ -231,6 +231,7 @@ void tooltip_trigger_hide(Tooltip* tooltip)
if (g_tooltip.mapped) {
g_tooltip.current_state = TOOLTIP_ABOUT_TO_HIDE;
struct timeval t = g_tooltip.hide_timeout.it_value;
g_tooltip.task = 0;
if (t.tv_sec == 0 && t.tv_usec == 0) {
tooltip_hide();
alarm(0);
@@ -251,5 +252,4 @@ void tooltip_hide()
g_tooltip.mapped = False;
XUnmapWindow(server.dsp, g_tooltip.window);
}
g_tooltip.task = 0;
}