8802a37b897d661d37a2002f53a69b3493db40f7
[mikachu/openbox.git] / openbox / actions / reconfigure.c
1 #include "openbox/actions.h"
2 #include "openbox/openbox.h"
3
4 static gboolean run_func(ObActionsData *data, gpointer options);
5
6 void action_reconfigure_startup()
7 {
8     actions_register("Reconfigure",
9                      NULL, NULL,
10                      run_func,
11                      NULL, NULL);
12 }
13
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(ObActionsData *data, gpointer options)
16 {
17     ob_reconfigure();
18
19     return FALSE;
20 }