diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2017-10-10 12:01:18 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | 626b0ae40c71b6c1e02ece79bf033432647381a6 (patch) | |
tree | 0c1e10fe2b7561a1df079f2184c052e5ccb993c3 /st.c | |
parent | d5275012b45149a2a6e94679609aacca478221ad (diff) | |
download | st-626b0ae40c71b6c1e02ece79bf033432647381a6.tar.gz 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.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2176,10 +2176,7 @@ tcontrolcode(uchar ascii) | |||
2176 | /* backwards compatibility to xterm */ | 2176 | /* backwards compatibility to xterm */ |
2177 | strhandle(); | 2177 | strhandle(); |
2178 | } else { | 2178 | } else { |
2179 | if (!(win.state & WIN_FOCUSED)) | 2179 | xbell(); |
2180 | xseturgency(1); | ||
2181 | if (bellvolume) | ||
2182 | xbell(bellvolume); | ||
2183 | } | 2180 | } |
2184 | break; | 2181 | break; |
2185 | case '\033': /* ESC */ | 2182 | case '\033': /* ESC */ |