diff options
author | TingPing <tingping@tingping.se> | 2013-04-13 23:03:54 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-04-13 23:03:54 -0400 |
commit | e67371d269eab88bb684a7c5d5e37190cdf805dd (patch) | |
tree | 2d6bdb0f31a8d74a5d6bbeebfb1d2009a4aaec6f /src/fe-gtk/fe-gtk.c | |
parent | a99654957759e39c3272c1b4fa7c0deb5d85c4e6 (diff) |
Add option for omitting alerts while focused
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index d87ccd4e..52d4a906 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -669,7 +669,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp) void fe_beep (session *sess) { - if (fe_gui_info (sess, 0) != 1) + if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1) gdk_beep (); } |