diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-15 13:46:23 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-15 13:46:23 +0200 |
commit | 831794e150d890a64fc889887334accec4dd822a (patch) | |
tree | 7893c2a6e8ee937ec86df5af8c687c57bd3f16e6 /src/fe-gtk/fe-gtk.c | |
parent | e8f7653cf0f315fcb75c434c4a46af28d80f2ec2 (diff) |
Only omit alerts when we're actually away
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 f7264f73..a523d63b 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -587,7 +587,7 @@ fe_set_hilight (struct session *sess) if (sess->gui->is_tab) fe_set_tab_color (sess, 3); /* set tab to blue */ - if (prefs.input_flash_hilight && !prefs.away_omit_alerts) + if (prefs.input_flash_hilight && (!prefs.away_omit_alerts || !sess->server->is_away)) fe_flash_window (sess); /* taskbar flash */ } |