mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Improved channel highlight (priority to message vs join/part)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2004-03-27
|
||||
ChangeLog - 2004-05-31
|
||||
|
||||
|
||||
Version 0.0.6 (under dev!):
|
||||
* improved channel highlight (priority to message vs join/part)
|
||||
* fixed bug when opened private win and remote user changes his nick
|
||||
* /query command added (starts private conversation)
|
||||
* IRC messages 476, 477 added
|
||||
|
||||
@@ -1684,8 +1684,11 @@ gui_add_message (t_gui_window *window, int type, int color, char *message)
|
||||
}
|
||||
if ((window != gui_current_window) || (window->sub_lines > 0))
|
||||
{
|
||||
window->unread_data = 1 + window->last_line->line_with_message;
|
||||
gui_redraw_window_status (gui_current_window);
|
||||
if (window->unread_data < 1 + window->last_line->line_with_message)
|
||||
{
|
||||
window->unread_data = 1 + window->last_line->line_with_message;
|
||||
gui_redraw_window_status (gui_current_window);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -1,10 +1,11 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2004-03-27
|
||||
ChangeLog - 2004-05-31
|
||||
|
||||
|
||||
Version 0.0.6 (under dev!):
|
||||
* improved channel highlight (priority to message vs join/part)
|
||||
* fixed bug when opened private win and remote user changes his nick
|
||||
* /query command added (starts private conversation)
|
||||
* IRC messages 476, 477 added
|
||||
|
||||
@@ -1684,8 +1684,11 @@ gui_add_message (t_gui_window *window, int type, int color, char *message)
|
||||
}
|
||||
if ((window != gui_current_window) || (window->sub_lines > 0))
|
||||
{
|
||||
window->unread_data = 1 + window->last_line->line_with_message;
|
||||
gui_redraw_window_status (gui_current_window);
|
||||
if (window->unread_data < 1 + window->last_line->line_with_message)
|
||||
{
|
||||
window->unread_data = 1 + window->last_line->line_with_message;
|
||||
gui_redraw_window_status (gui_current_window);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user