summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel2011-05-22 16:57:27 +0200
committerAurélien Aptel2011-05-22 16:57:27 +0200
commit6734de9b6e1e74e6c713a6a3e22322e80884828d (patch)
tree18991ff3d8107250abcb837974a212eaa6c3960e
parent7d352f143655ace75dd4e40432199f18f296da5e (diff)
downloadst-6734de9b6e1e74e6c713a6a3e22322e80884828d.tar.gz
st-6734de9b6e1e74e6c713a6a3e22322e80884828d.tar.xz
st-6734de9b6e1e74e6c713a6a3e22322e80884828d.zip
set title before mapping window (thx Kamil Cholewiński).
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
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);
}