summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-07 16:43:02 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-07 16:43:02 +0100
commit8401448521221f38dfa0674c236ae99dde575538 (patch)
tree154d2c484b18221dda4a22b9581911cbd747cc2f /src/options.c
parente0e3deaca9201498d590879222b582e2c30ef3d5 (diff)
parentde734d41517986273f8c887f892e15b66f0936ec (diff)
Merge branch 'x11-properties' of https://github.com/Ferada/feh into Ferada-x11-properties
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 4c34b66..d3c1d52 100644
--- a/src/options.c
+++ b/src/options.c
@@ -430,6 +430,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
#ifdef HAVE_INOTIFY
{"auto-reload" , 0, 0, 248},
#endif
+ {"class" , 1, 0, 249},
{0, 0, 0, 0}
};
int optch = 0, cmdx = 0;
@@ -823,6 +824,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.auto_reload = 1;
break;
#endif
+ case 249:
+ opt.x11_class = estrdup(optarg);
+ break;
default:
break;
}