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:

  <http://savannah.nongnu.org/bugs/?21234>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to