Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Move window urgency handling entirely into x.c
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
f1f7bc1
..
df43fac
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-2176,10
+2176,7
@@
tcontrolcode(uchar ascii)
/* backwards compatibility to xterm */
strhandle();
} else {
/* backwards compatibility to xterm */
strhandle();
} else {
- if (!(win.state & WIN_FOCUSED))
- xseturgency(1);
- if (bellvolume)
- xbell(bellvolume);
+ xbell();
}
break;
case '\033': /* ESC */
}
break;
case '\033': /* ESC */