multigrid: reset win scrolling after swap message

This commit is contained in:
Björn Linse
2019-01-31 13:13:34 +01:00
parent bfe2435459
commit 0f96a21e3f
4 changed files with 22 additions and 12 deletions

View File

@@ -1960,8 +1960,9 @@ int msg_scrollsize(void)
*/
static void msg_scroll_up(void)
{
if (msg_scrolled == 0) {
if (!msg_did_scroll) {
ui_call_win_scroll_over_start();
msg_did_scroll = true;
}
if (dy_flags & DY_MSGSEP) {
if (msg_scrolled == 0) {