From 6734de9b6e1e74e6c713a6a3e22322e80884828d Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Sun, 22 May 2011 16:57:27 +0200 Subject: set title before mapping window (thx Kamil Cholewiński). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 01ffa21..1d01925 100644 --- a/st.c +++ b/st.c @@ -1632,9 +1632,9 @@ xinit(void) { &(XColor){.red = 0xffff, .green = 0xffff, .blue = 0xffff}, &(XColor){.red = 0x0000, .green = 0x0000, .blue = 0x0000}); + XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st"); XMapWindow(xw.dpy, xw.win); xhints(); - XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st"); XSync(xw.dpy, 0); } -- cgit v1.2.3-54-g00ecf