AlphaFocusHighlight patch instead of Alpha patch

This commit is contained in:
LordRusk 2020-03-26 01:03:01 +00:00
parent e72996ef4b
commit 315acd0c54

1
x.c
View file

@ -1818,6 +1818,7 @@ focus(XEvent *ev)
XSetICFocus(xw.xic);
win.mode |= MODE_FOCUSED;
xseturgency(0);
if (IS_SET(MODE_FOCUS))
ttywrite("\033[I", 3, 0);
if (!focused) {
focused = true;