mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
set title before mapping window (thx Kamil Cholewiński).
This commit is contained in:
parent
7d352f1436
commit
6734de9b6e
2
st.c
2
st.c
@ -1632,9 +1632,9 @@ xinit(void) {
|
|||||||
&(XColor){.red = 0xffff, .green = 0xffff, .blue = 0xffff},
|
&(XColor){.red = 0xffff, .green = 0xffff, .blue = 0xffff},
|
||||||
&(XColor){.red = 0x0000, .green = 0x0000, .blue = 0x0000});
|
&(XColor){.red = 0x0000, .green = 0x0000, .blue = 0x0000});
|
||||||
|
|
||||||
|
XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st");
|
||||||
XMapWindow(xw.dpy, xw.win);
|
XMapWindow(xw.dpy, xw.win);
|
||||||
xhints();
|
xhints();
|
||||||
XStoreName(xw.dpy, xw.win, opt_title ? opt_title : "st");
|
|
||||||
XSync(xw.dpy, 0);
|
XSync(xw.dpy, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user