summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 97a61f8..276df1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -63,6 +63,8 @@ char **myargv;
XGCValues gv;
+struct rp_key prefix_key;
+
/* Command line options */
static struct option ratpoison_longopts[] = { {"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'v'},
@@ -325,6 +327,7 @@ main (int argc, char *argv[])
init_numbers ();
init_window_list ();
+ initialize_default_keybindings ();
font = XLoadQueryFont (dpy, FONT);
if (font == NULL)
@@ -348,8 +351,6 @@ main (int argc, char *argv[])
init_screen (&screens[i], i);
}
- initialize_default_keybindings ();
-
read_startup_files ();
/* Set an initial window as active. */