Move window urgency handling entirely into x.c
This allows us to make xseturgency internal. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
This commit is contained in:
parent
d5275012b4
commit
626b0ae40c
5 changed files with 10 additions and 9 deletions
5
st.c
5
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue