summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-02-14 22:35:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-02-14 22:35:06 +0100
commit14a9702bb2365e51a6f8854f85a13b6e5cf4001c (patch)
tree6a6c396f017f4e4c10794d74e3550481be580477 /src/options.c
parent4abbd21f698945a662ed57e2dad6b6b25de9e474 (diff)
parent5e75b5ef3e7d0270913c04645398bc3596c2a90a (diff)
Merge branch 'ulteq-dimension-pruning-without-preload'
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index bf5c67c..76d70c5 100644
--- a/src/options.c
+++ b/src/options.c
@@ -433,6 +433,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.debug = 1;
break;
case '<':
+ opt.filter_by_dimensions = 1;
XParseGeometry(optarg, &discard, &discard, &opt.max_width, &opt.max_height);
if (opt.max_width == 0)
opt.max_width = UINT_MAX;
@@ -440,6 +441,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.max_height = UINT_MAX;
break;
case '>':
+ opt.filter_by_dimensions = 1;
XParseGeometry(optarg, &discard, &discard, &opt.min_width, &opt.min_height);
break;
case '.':