From: Quentin Rameau <quinq@fifth.space>
Date: Fri, 16 Mar 2018 14:03:10 +0000 (+0100)
Subject: Fix regression from 69e32a6 when setting title.
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=e7ef3c4ce95a21cfcd0988d493f636e1d0115871;p=st.git

Fix regression from 69e32a6 when setting title.
---

diff --git a/x.c b/x.c
index d43a529..06e53d3 100644
--- a/x.c
+++ b/x.c
@@ -1492,7 +1492,7 @@ void
 xsettitle(char *p)
 {
 	XTextProperty prop;
-	DEFAULT(p, "st");
+	DEFAULT(p, opt_title);
 
 	Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle,
 			&prop);