many fixed for SIGUSR1 signal

git-svn-id: http://tint2.googlecode.com/svn/trunk@244 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-30 20:54:29 +00:00
parent 271ec40e04
commit 12e73beb50
6 changed files with 11 additions and 30 deletions

View File

@@ -587,7 +587,10 @@ void event_configure_notify (Window win)
// change in root window (xrandr)
if (win == server.root_win) {
get_monitors();
init_config();
config_read_file (config_path);
init_panel();
cleanup_config();
return;
}
@@ -750,6 +753,7 @@ int main (int argc, char *argv[])
break;
case MotionNotify: {
if (!g_tooltip.enabled) break;
Panel* panel = get_panel(e.xmotion.window);
Task* task = click_task(panel, e.xmotion.x, e.xmotion.y);
if (task)