fixed config reload SIGUSR1. added systray = 1 parameter to enable systray
git-svn-id: http://tint2.googlecode.com/svn/trunk@242 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -59,6 +59,25 @@ void init_tooltip()
|
||||
}
|
||||
|
||||
|
||||
void cleanup_tooltip()
|
||||
{
|
||||
tooltip_hide();
|
||||
g_tooltip.enabled = False;
|
||||
if (g_tooltip.task) {
|
||||
alarm(0);
|
||||
g_tooltip.task = 0;
|
||||
}
|
||||
if (g_tooltip.window) {
|
||||
XDestroyWindow(server.dsp, g_tooltip.window);
|
||||
g_tooltip.window = 0;
|
||||
}
|
||||
if (g_tooltip.font_desc) {
|
||||
pango_font_description_free(g_tooltip.font_desc);
|
||||
g_tooltip.font_desc = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void tooltip_sighandler(int sig)
|
||||
{
|
||||
if (g_tooltip.current_state == TOOLTIP_ABOUT_TO_SHOW)
|
||||
|
||||
Reference in New Issue
Block a user