summaryrefslogtreecommitdiff
path: root/src/winwidget.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/winwidget.c
parente0e3deaca9201498d590879222b582e2c30ef3d5 (diff)
parentde734d41517986273f8c887f892e15b66f0936ec (diff)
Merge branch 'x11-properties' of https://github.com/Ferada/feh into Ferada-x11-properties
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c2
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);