diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-03-12 12:44:56 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-03-12 12:44:56 +0100 |
commit | cbab594f051b5c21a76d0ad389a25d6449e0b839 (patch) | |
tree | 606460dc388ccf56e57e67b5f1afd91ced3892d8 /src | |
parent | 3b2756bf2517f41b319adf9b3155efd1486a801b (diff) | |
download | feh-cbab594f051b5c21a76d0ad389a25d6449e0b839.zip |
Add alternative defaults for numpad keybindings (closes #84)
Diffstat (limited to 'src')
-rw-r--r-- | src/keyevents.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 0ada751..6327320 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -129,10 +129,10 @@ void init_keyevents(void) { feh_set_kb(&keys.action_9 , 0, XK_9 , 0, XK_KP_9 , 0, 0); feh_set_kb(&keys.zoom_in , 0, XK_Up , 0, XK_KP_Add , 0, 0); feh_set_kb(&keys.zoom_out , 0, XK_Down , 0, XK_KP_Subtract,0, 0); - feh_set_kb(&keys.zoom_default, 0, XK_KP_Multiply, 0, 0 , 0, 0); - feh_set_kb(&keys.zoom_fit , 0, XK_KP_Divide , 0, 0 , 0, 0); + feh_set_kb(&keys.zoom_default, 0, XK_KP_Multiply, 0, XK_asterisk, 0, 0); + feh_set_kb(&keys.zoom_fit , 0, XK_KP_Divide , 0, XK_slash , 0, 0); feh_set_kb(&keys.size_to_image, 0, XK_w , 0, 0 , 0, 0); - feh_set_kb(&keys.render , 0, XK_KP_Begin , 0, 0 , 0, 0); + feh_set_kb(&keys.render , 0, XK_KP_Begin , 0, XK_R , 0, 0); feh_set_kb(&keys.toggle_actions, 0, XK_a, 0, 0, 0, 0); feh_set_kb(&keys.toggle_aliasing, 0, XK_A, 0, 0, 0, 0); feh_set_kb(&keys.toggle_filenames, 0, XK_d, 0, 0, 0, 0); |