X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/a2c479c4c8d035c11a91e4b954a9f161bf4c7150..895e5b50a8cc835c19a45e1e328eb4dc78f5fd0c:/x.c diff --git a/x.c b/x.c index 6406925..e000894 100644 --- a/x.c +++ b/x.c @@ -1154,8 +1154,8 @@ xinit(int cols, int rows) win.mode = MODE_NUMLOCK; resettitle(); - XMapWindow(xw.dpy, xw.win); xhints(); + XMapWindow(xw.dpy, xw.win); XSync(xw.dpy, False); clock_gettime(CLOCK_MONOTONIC, &xsel.tclick1); @@ -1743,7 +1743,7 @@ kpress(XEvent *ev) { XKeyEvent *e = &ev->xkey; KeySym ksym; - char buf[32], *customkey; + char buf[64], *customkey; int len; Rune c; Status status;