st

simple terminal

git clone https://9o.is/git/st.git

commit f86a94a6209b5d53715c6008a50c79e39d0a99d9
parent 969d1e48bb2f729679f44d3ce9b4e76e1ee1539c
Author: Ingo Lohmar <ingo.lohmar@posteo.net>
Date:   Fri, 31 May 2019 22:25:35 +0200

apply hints before initial mapping (ICCCM)

For WM_CLASS this is mentioned in the ICCCM docs
https://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.5
(third sentence).

When changing the WM_CLASS from the command line, this is necessary for
window managers to pick it up before applying class-based rules.

Diffstat:
Mx.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);