From 806a8c411f10c7a2292bfac15d77c8609f56ee71 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 18:11:39 +0000 Subject: add a reconfigure action, also reconfigure on SIGUSR2. support reconfiguring throughout the entire codebase. --- openbox/mouse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbox/mouse.c') diff --git a/openbox/mouse.c b/openbox/mouse.c index 988e0147..91b98c6a 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -87,6 +87,7 @@ static void clearall() g_free(b); } g_slist_free(bound_contexts[i]); + bound_contexts[i] = NULL; } } @@ -367,11 +368,11 @@ gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact, return TRUE; } -void mouse_startup() +void mouse_startup(gboolean reconfig) { } -void mouse_shutdown() +void mouse_shutdown(gboolean reconfig) { grab_all_clients(FALSE); clearall(); -- cgit v1.2.3