diff options
| -rw-r--r-- | st.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <X11/cursorfont.h> | 27 | #include <X11/cursorfont.h> |
| 28 | #include <X11/keysym.h> | 28 | #include <X11/keysym.h> |
| 29 | #include <X11/Xft/Xft.h> | 29 | #include <X11/Xft/Xft.h> |
| 30 | #include <X11/XKBlib.h> | ||
| 30 | #include <fontconfig/fontconfig.h> | 31 | #include <fontconfig/fontconfig.h> |
| 31 | #include <wchar.h> | 32 | #include <wchar.h> |
| 32 | 33 | ||
| @@ -2423,7 +2424,7 @@ tcontrolcode(uchar ascii) { | |||
| 2423 | if(!(xw.state & WIN_FOCUSED)) | 2424 | if(!(xw.state & WIN_FOCUSED)) |
| 2424 | xseturgency(1); | 2425 | xseturgency(1); |
| 2425 | if (bellvolume) | 2426 | if (bellvolume) |
| 2426 | XBell(xw.dpy, bellvolume); | 2427 | XkbBell(xw.dpy, xw.win, bellvolume, (Atom)NULL); |
| 2427 | } | 2428 | } |
| 2428 | break; | 2429 | break; |
| 2429 | case '\033': /* ESC */ | 2430 | case '\033': /* ESC */ |
