Merge branch 'winname'

This commit is contained in:
Bert Münnich
2012-12-01 18:50:59 +01:00
5 changed files with 14 additions and 3 deletions

View File

@ -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);