From de734d41517986273f8c887f892e15b66f0936ec Mon Sep 17 00:00:00 2001 From: Olof-Joachim Frahm Date: Fri, 11 Oct 2019 22:19:33 +0200 Subject: Allow setting the X11 class hint as an option. --- src/winwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/winwidget.c') 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); -- cgit v1.2.3