summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2018-10-15 15:29:39 +0200
committerBert Münnich <ber.t@posteo.de>2018-10-15 15:29:39 +0200
commit0bf32654307d285eaf7b538db40548202a6b5596 (patch)
tree46a4d47191478a265d0cc3c16a36584687046dfd /window.c
parent971f5d669490696c11f5c4ede1fee558e05ae4fc (diff)
downloadnsxiv-0bf32654307d285eaf7b538db40548202a6b5596.tar.zst
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.
Diffstat (limited to 'window.c')
-rw-r--r--window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/window.c b/window.c
index e33c1fd..2ed33ca 100644
--- a/window.c
+++ b/window.c
@@ -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);