summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/window.c')
-rw-r--r--openbox/window.c8
1 files changed, 6 insertions, 2 deletions
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);
}