summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-08 09:04:25 -0500
committerDana Jansens <danakj@orodu.net>2010-01-08 09:04:25 -0500
commitbafd9e9edcff0e18a03ef6f4e73d673e12a7c7ed (patch)
treee4ecbd36f3606c4decbb93de4f45a875491b0c36 /openbox/openbox.c
parent70c074afe84ddbe4058f67a1fce062a769b449fc (diff)
make Home and End keys navigate to top/bottom of the active menu
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 0e339782..415c1604 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -239,6 +239,8 @@ gint main(gint argc, gchar **argv)
keys[OB_KEY_DOWN] = modkeys_sym_to_code(XK_Down);
keys[OB_KEY_TAB] = modkeys_sym_to_code(XK_Tab);
keys[OB_KEY_SPACE] = modkeys_sym_to_code(XK_space);
+ keys[OB_KEY_HOME] = modkeys_sym_to_code(XK_Home);
+ keys[OB_KEY_END] = modkeys_sym_to_code(XK_End);
{
ObParseInst *i;
@@ -427,6 +429,8 @@ gint main(gint argc, gchar **argv)
g_free(keys[OB_KEY_DOWN]);
g_free(keys[OB_KEY_TAB]);
g_free(keys[OB_KEY_SPACE]);
+ g_free(keys[OB_KEY_HOME]);
+ g_free(keys[OB_KEY_END]);
modkeys_shutdown(reconfigure);
} while (reconfigure);