*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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user