diff options
author | Olof-Joachim Frahm <olof@macrolet.net> | 2019-10-11 22:19:33 +0200 |
---|---|---|
committer | Olof-Joachim Frahm <olof@macrolet.net> | 2019-10-11 22:19:33 +0200 |
commit | de734d41517986273f8c887f892e15b66f0936ec (patch) | |
tree | e6d90e691e08cf8bdbd19eba7f2dc2a2af9f83df /src/winwidget.c | |
parent | 7d154c00258c70136b0bca8ae162fe08c645373e (diff) |
Allow setting the X11 class hint as an option.
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 70a65e0..cef7230 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -305,7 +305,7 @@ void winwidget_create_window(winwidget ret, int w, int h) winwidget_update_title(ret); xch = XAllocClassHint(); xch->res_name = "feh"; - xch->res_class = "feh"; + xch->res_class = opt.x11_class ? opt.x11_class : "feh"; XSetClassHint(disp, ret->win, xch); XFree(xch); |