diff options
author | Bert <ber.t@gmx.com> | 2011-01-20 16:32:16 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-20 16:32:16 +0100 |
commit | eeb58886a5b9d7460f81a1e3216692b5dc3a6341 (patch) | |
tree | 4cfdfcfe1109c207365ccc0eb32b3e3f349f94fc /window.c | |
parent | a732e75d8a484c9e9a1c281d93124580fad83dd4 (diff) |
Fixed initial window title
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -72,9 +72,12 @@ void win_open(win_t *win) { XSelectInput(e->dpy, win->xwin, StructureNotifyMask | ExposureMask | KeyPressMask); + XStoreName(e->dpy, win->xwin, "sxiv"); + XSetIconName(e->dpy, win->xwin, "Sxiv"); + if ((classhint = XAllocClassHint())) { - classhint->res_name = "sxvi"; - classhint->res_class = "sxvi"; + classhint->res_name = "sxiv"; + classhint->res_class = "sxiv"; XSetClassHint(e->dpy, win->xwin, classhint); XFree(classhint); } |