nsxiveeb5888
Fixed initial window title
+5 −2
1 file changed
- M window.c +5 −2
| @@ -72,9 +72,12 @@ void win_open(win_t *win) { | |||
| 72 | 72 | XSelectInput(e->dpy, win->xwin, | |
| 73 | 73 | StructureNotifyMask | ExposureMask | KeyPressMask); | |
| 74 | 74 | ||
| 75 | + | XStoreName(e->dpy, win->xwin, "sxiv"); | |
| 76 | + | XSetIconName(e->dpy, win->xwin, "Sxiv"); | |
| 77 | + | ||
| 75 | 78 | if ((classhint = XAllocClassHint())) { | |
| 76 | − | classhint->res_name = "sxvi"; | |
| 77 | − | classhint->res_class = "sxvi"; | |
| 79 | + | classhint->res_name = "sxiv"; | |
| 80 | + | classhint->res_class = "sxiv"; | |
| 78 | 81 | XSetClassHint(e->dpy, win->xwin, classhint); | |
| 79 | 82 | XFree(classhint); | |
| 80 | 83 | } | |