summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/menu.c8
-rw-r--r--src/options.c4
-rw-r--r--src/options.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/menu.c b/src/menu.c
index a3566eb..ae28138 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1379,25 +1379,25 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data)
break;
case CB_SORT_FILENAME:
filelist = gib_list_sort(filelist, feh_cmp_filename);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_IMAGENAME:
filelist = gib_list_sort(filelist, feh_cmp_name);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_FILESIZE:
filelist = gib_list_sort(filelist, feh_cmp_size);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
case CB_SORT_RANDOMIZE:
filelist = gib_list_randomize(filelist);
- if (!opt.no_jump_on_resort) {
+ if (opt.jump_on_resort) {
slideshow_change_image(m->fehwin, SLIDE_FIRST);
}
break;
diff --git a/src/options.c b/src/options.c
index d9ee51f..0c14a36 100644
--- a/src/options.c
+++ b/src/options.c
@@ -74,7 +74,7 @@ void init_parse_options(int argc, char **argv)
opt.no_blur_ctrl_mask = 0;
opt.start_list_at = NULL;
- opt.no_jump_on_resort = 0;
+ opt.jump_on_resort = 1;
opt.builtin_http = 0;
@@ -722,7 +722,7 @@ static void feh_parse_option_array(int argc, char **argv)
opt.actions[9] = estrdup(optarg);
break;
case 220:
- opt.no_jump_on_resort = 1;
+ opt.jump_on_resort = 0;
break;
case 221:
opt.hide_pointer = 1;
diff --git a/src/options.h b/src/options.h
index 59dc708..3aa6dc1 100644
--- a/src/options.h
+++ b/src/options.h
@@ -48,7 +48,7 @@ struct __fehoptions {
unsigned char keep_http;
unsigned char borderless;
unsigned char randomize;
- unsigned char no_jump_on_resort;
+ unsigned char jump_on_resort;
unsigned char full_screen;
unsigned char auto_zoom;
unsigned char draw_filename;