Set window title only once at startup

Putting image info in the title predates the info bar; it no longer seems
necessary.

Fixes issue #318.
This commit is contained in:
Bert Münnich
2018-10-15 15:29:39 +02:00
parent 971f5d6694
commit 0bf3265430
2 changed files with 0 additions and 12 deletions

View File

@ -464,9 +464,6 @@ void win_draw_rect(win_t *win, int x, int y, int w, int h, bool fill, int lw,
void win_set_title(win_t *win, const char *title)
{
if (title == NULL)
title = "sxiv";
XStoreName(win->env.dpy, win->xwin, title);
XSetIconName(win->env.dpy, win->xwin, title);