]> Dogcows Code - chaz/openbox/blobdiff - openbox/group.c
add a reconfigure action, also reconfigure on SIGUSR2.
[chaz/openbox] / openbox / group.c
index f6c86c5a5aa63552cf3c4abb43008351f5f7b4a2..fe3fa57532203e171b0bdf2a30a012d4680efd78 100644 (file)
@@ -6,14 +6,18 @@ GHashTable *group_map = NULL;
 static guint map_hash(Window *w) { return *w; }
 static gboolean map_key_comp(Window *w1, Window *w2) { return *w1 == *w2; }
 
-void group_startup()
+void group_startup(gboolean reconfig)
 {
+    if (reconfig) return;
+
     group_map = g_hash_table_new((GHashFunc)map_hash,
                                  (GEqualFunc)map_key_comp);
 }
 
-void group_shutdown()
+void group_shutdown(gboolean reconfig)
 {
+    if (reconfig) return;
+
     g_hash_table_destroy(group_map);
 }
 
This page took 0.021808 seconds and 4 git commands to generate.