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