Add a $pointer execute variable substitution and make $wip and $pid consistent (Fix...
[dana/openbox.git] / openbox / actions / breakchroot.c
1 #include "openbox/actions.h"
2 #include "openbox/keyboard.h"
3
4 static gboolean run_func(ObActionsData *data, gpointer options);
5
6 void action_breakchroot_startup(void)
7 {
8     actions_register("BreakChroot",
9                      NULL, NULL,
10                      run_func);
11 }
12
13 /* Always return FALSE because its not interactive */
14 static gboolean run_func(ObActionsData *data, gpointer options)
15 {
16     /* break out of one chroot */
17     keyboard_reset_chains(1);
18
19     return FALSE;
20 }