summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 3d11482..0db5aae 100644
--- a/src/options.c
+++ b/src/options.c
@@ -416,6 +416,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"no-recursive" , 0, 0, 241},
{"cache-size" , 1, 0, 243},
{"version-sort" , 0, 0, 246},
+ {"inner-geometry", 1, 0, 247},
{0, 0, 0, 0}
};
int optch = 0, cmdx = 0;
@@ -784,6 +785,10 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case 246:
opt.version_sort = 1;
break;
+ case 247:
+ opt.inner_geom_flags = XParseGeometry(optarg, &opt.inner_geom_x,
+ &opt.inner_geom_y, &opt.inner_geom_w, &opt.inner_geom_h);
+ break;
default:
break;
}