all repos — st @ eeffbe11ab8b3ea94eefcf178003e36d389f8776

st (suckless terminal) config

Making st not activate the cursor in case of Mod + k in dwm.

Thanks Jens Nyberg <jens.nyberg@gmail.com>!
Christoph Lohmann 20h@r-36.net
commit

eeffbe11ab8b3ea94eefcf178003e36d389f8776

parent

8a9475a0dd9b8751b9b0ed4c7da4db09232e318e

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M st.cst.c

@@ -2986,6 +2986,11 @@ }

void focus(XEvent *ev) { + XFocusChangeEvent *e = &ev->xfocus; + + if(e->mode == NotifyGrab) + return; + if(ev->type == FocusIn) { XSetICFocus(xw.xic); xw.state |= WIN_FOCUSED;