From a05423cb6ad0e7d9d4c30741b32dc237aabd0f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Aptel?= Date: Sun, 22 May 2011 16:57:27 +0200 Subject: [PATCH] =?UTF-8?q?set=20title=20before=20mapping=20window=20(thx?= =?UTF-8?q?=20Kamil=20Cholewi=C5=84ski).?= 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); }