set title before mapping window (thx Kamil Cholewiński). - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6734de9b6e1e74e6c713a6a3e22322e80884828d
 (DIR) parent 7d352f143655ace75dd4e40432199f18f296da5e
 (HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com>
       Date:   Sun, 22 May 2011 16:57:27 +0200
       
       set title before mapping window (thx Kamil Cholewiński).
       
       Diffstat:
         M st.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git 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);
        }