aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-10-10 12:01:18 -0500
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit626b0ae40c71b6c1e02ece79bf033432647381a6 (patch)
tree0c1e10fe2b7561a1df079f2184c052e5ccb993c3 /st.c
parentd5275012b45149a2a6e94679609aacca478221ad (diff)
downloadst-626b0ae40c71b6c1e02ece79bf033432647381a6.tar.gz
st-626b0ae40c71b6c1e02ece79bf033432647381a6.tar.bz2
st-626b0ae40c71b6c1e02ece79bf033432647381a6.zip
Move window urgency handling entirely into x.c
This allows us to make xseturgency internal. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r--st.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/st.c b/st.c
index f1f7bc1..df43fac 100644
--- a/st.c
+++ b/st.c
@@ -2176,10 +2176,7 @@ tcontrolcode(uchar ascii)
/* backwards compatibility to xterm */
strhandle();
} else {
- if (!(win.state & WIN_FOCUSED))
- xseturgency(1);
- if (bellvolume)
- xbell(bellvolume);
+ xbell();
}
break;
case '\033': /* ESC */