Krolyxon
Commit eeb5888

Branches

Refs →

nsxiveeb5888

Fixed initial window title

Author
Bert
Date
2011-01-20 16:32 +0100
Parent
a732e75
Commit
eeb58886a5b9d7460f81a1e3216692b5dc3a6341

+5 −2

1 file changed

  1. M window.c +5 −2
M window.c View
@@ -72,9 +72,12 @@ void win_open(win_t *win) {
7272 XSelectInput(e->dpy, win->xwin,
7373 StructureNotifyMask | ExposureMask | KeyPressMask);
7474
75+ XStoreName(e->dpy, win->xwin, "sxiv");
76+ XSetIconName(e->dpy, win->xwin, "Sxiv");
77+
7578 if ((classhint = XAllocClassHint())) {
76− classhint->res_name = "sxvi";
77− classhint->res_class = "sxvi";
79+ classhint->res_name = "sxiv";
80+ classhint->res_class = "sxiv";
7881 XSetClassHint(e->dpy, win->xwin, classhint);
7982 XFree(classhint);
8083 }