diff options
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,8 +208,8 @@ void win_open(win_t *win) { win_set_title(win, "sxiv"); - classhint.res_name = "sxiv"; classhint.res_class = "Sxiv"; + classhint.res_name = options->res_name != NULL ? options->res_name : "sxiv"; XSetClassHint(e->dpy, win->xwin, &classhint); XSetWMProtocols(e->dpy, win->xwin, &wm_delete_win, 1); |