[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #21234] weechat displays that their are unread messag

From: shiver
Subject: [Weechat-dev] [bug #21234] weechat displays that their are unread messages when joining channels with large nick list
Date: Thu, 05 Jun 2008 23:29:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0

Follow-up Comment #1, bug #21234 (project weechat):

I can confirm that I see this too using 0.27-dev.
It also seems to happen if the buffer isn't long enough to display a
multiline message without scrolling.

I added an extra check to gui_buffer_is_scrolled() to check the
start_line_pos. Not sure if that is the correct thing or not though. Seems to
have worked for me...

+++ b/src/gui/gui-buffer.c
@@ -438,7 +438,7 @@ gui_buffer_is_scrolled (t_gui_buffer *buffer)
             buffer_found = 1;
             /* buffer found and not scrolled, exit immediately */
-            if (!ptr_win->scroll)
+            if (!ptr_win->scroll || ptr_win->start_line_pos == 0)
                 return 0;


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]