summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index b33941e..ab486bd 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -131,6 +131,8 @@ initialize_default_keybindings (void)
add_keybinding (XK_Tab, 0, "focus");
add_keybinding (XK_Q, 0, "only");
add_keybinding (XK_R, 0, "remove");
+ add_keybinding (XK_f, 0, "curframe");
+ add_keybinding (XK_f, ControlMask, "curframe");
}
user_command user_commands[] =
@@ -161,6 +163,7 @@ user_command user_commands[] =
{"only", cmd_only, arg_VOID},
{"remove", cmd_remove, arg_VOID},
{"banish", cmd_banish, arg_VOID},
+ {"curframe", cmd_curframe, arg_VOID},
/* the following screen commands may or may not be able to be
implemented. See the screen documentation for what should be
@@ -857,3 +860,9 @@ cmd_banish (void *data)
XWarpPointer (dpy, None, s->root, 0, 0, 0, 0, s->root_attr.width - 2, s->root_attr.height - 2);
}
+
+void
+cmd_curframe (void *data)
+{
+ show_frame_indicator();
+}