mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 03:00:19 +00:00
Add option for omitting alerts while focused
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user