mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-04-05 02:41:10 +02:00
AlphaFocusHighlight patch instead of Alpha patch
This commit is contained in:
parent
e72996ef4b
commit
315acd0c54
1 changed files with 1 additions and 0 deletions
1
x.c
1
x.c
|
@ -1818,6 +1818,7 @@ focus(XEvent *ev)
|
||||||
XSetICFocus(xw.xic);
|
XSetICFocus(xw.xic);
|
||||||
win.mode |= MODE_FOCUSED;
|
win.mode |= MODE_FOCUSED;
|
||||||
xseturgency(0);
|
xseturgency(0);
|
||||||
|
if (IS_SET(MODE_FOCUS))
|
||||||
ttywrite("\033[I", 3, 0);
|
ttywrite("\033[I", 3, 0);
|
||||||
if (!focused) {
|
if (!focused) {
|
||||||
focused = true;
|
focused = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue