summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-07-24 18:08:09 -0400
committerPatrick Griffis <tingping@tingping.se>2016-07-24 18:08:09 -0400
commit03767ee0f98262220eb13a2fcb1f2fe0963cba3d (patch)
tree3af3eaeb8ee217a72fee56af61f01e0fe66dc760 /src/common/text.c
parentba872477812bfec457a7b53ac61179dcda6bd0ee (diff)
Kill fe_set_hilight()
It just duplicates functionality and this fixes:

- alert_taskbar chanopt not being respected
- tab color being incorrect when highlight print events are eaten
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/text.c b/src/common/text.c
index ad6f10ff..2af8ab09 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -2048,6 +2048,7 @@ text_emit (int index, session *sess, char *a, char *b, char *c, char *d,
 	/* ===Highlighted message=== */
 	case XP_TE_HCHANACTION:
 	case XP_TE_HCHANMSG:
+		fe_set_tab_color (sess, 3);
 		if (chanopt_is_set (prefs.hex_input_beep_hilight, sess->alert_beep) && (!prefs.hex_away_omit_alerts || !sess->server->is_away))
 			sound_beep (sess);
 		if (chanopt_is_set (prefs.hex_input_flash_hilight, sess->alert_taskbar) && (!prefs.hex_away_omit_alerts || !sess->server->is_away))