aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2011-05-22 16:57:27 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2011-05-22 16:57:27 +0200
commita05423cb6ad0e7d9d4c30741b32dc237aabd0f01 (patch)
tree18991ff3d8107250abcb837974a212eaa6c3960e /st.c
parentcdd993c39ee72c426a6f02475928c0f03dc5a71d (diff)
downloadst-a05423cb6ad0e7d9d4c30741b32dc237aabd0f01.tar.gz
st-a05423cb6ad0e7d9d4c30741b32dc237aabd0f01.tar.bz2
set title before mapping window (thx Kamil Cholewiński).
Diffstat (limited to 'st.c')
-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);
}