summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-26 02:10:15 +0000
committerDana Jansens <danakj@orodu.net>2007-04-26 02:10:15 +0000
commit8c68c9ab0f75514ee4f0336e566ac2c02ac20b65 (patch)
tree8dd8bc2a3cf2d0a8e7faa7ca6d6076ad48e8fcce /openbox/action.c
parentb6d2529acb6e31efbf8c7791e44905a1712da891 (diff)
fixes for new keybindings stuff/chroot/parsing
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 556fc225..50a90130 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -893,6 +893,11 @@ ActionString actionstrings[] =
setup_action_growtoedge_east
},
{
+ "breakchroot",
+ action_break_chroot,
+ NULL
+ },
+ {
NULL,
NULL,
NULL
@@ -1899,3 +1904,9 @@ void action_unshow_desktop(union ActionData *data)
{
screen_show_desktop(FALSE);
}
+
+void action_break_chroot(union ActionData *data)
+{
+ /* break out of one chroot */
+ keyboard_reset_chains(1);
+}