diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-05-22 16:57:27 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-05-22 16:57:27 +0200 |
commit | a05423cb6ad0e7d9d4c30741b32dc237aabd0f01 (patch) | |
tree | 18991ff3d8107250abcb837974a212eaa6c3960e | |
parent | cdd993c39ee72c426a6f02475928c0f03dc5a71d (diff) | |
download | st-a05423cb6ad0e7d9d4c30741b32dc237aabd0f01.tar.gz st-a05423cb6ad0e7d9d4c30741b32dc237aabd0f01.tar.bz2 |
set title before mapping window (thx Kamil Cholewiński).
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |