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/window.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'openbox/window.c') diff --git a/openbox/window.c b/openbox/window.c index 3f28a93f..8b986b1b 100644 --- a/openbox/window.c +++ b/openbox/window.c @@ -7,13 +7,17 @@ GHashTable *window_map; -void window_startup() +void window_startup(gboolean reconfig) { + if (reconfig) return; + window_map = g_hash_table_new(g_int_hash, g_int_equal); } -void window_shutdown() +void window_shutdown(gboolean reconfig) { + if (reconfig) return; + g_hash_table_destroy(window_map); } -- cgit v1.2.3