summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-04 22:01:55 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-04 22:01:55 +0100
commit73c11d8aac91ebf71803c57be333ab9559aaa3f1 (patch)
tree6feba15f77b5ef4334dee645870567c17b2dd415 /src/options.c
parentbc8f6d804edb3f84bdcfbf30b7141ba462695876 (diff)
parent4eb72706ebd0635d23e96bdde7b6f9612d18d4c5 (diff)
Merge branch 'no-inplace-edit' of https://github.com/ulteq/feh into ulteq-no-inplace-edit
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 102c186..dc6a9ff 100644
--- a/src/options.c
+++ b/src/options.c
@@ -418,6 +418,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"conversion-timeout" , 1, 0, 245},
{"version-sort" , 0, 0, 246},
{"offset" , 1, 0, 247},
+ {"no-inplace-edit", 0, 0, 248},
{0, 0, 0, 0}
};
int optch = 0, cmdx = 0;
@@ -805,6 +806,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.offset_flags = XParseGeometry(optarg, &opt.offset_x,
&opt.offset_y, (unsigned int *)&discard, (unsigned int *)&discard);
break;
+ case 248:
+ opt.no_inplace_edit = 1;
+ break;
default:
break;
}