ref: f32e1f6267b2d95699483430af9afb9097b16b03
parent: daba8317dbe3f52d12881c3d255085faba7b5e0b
author: phil9 <telephil9@gmail.com>
date: Thu Feb 10 10:54:49 EST 2022
fix redraw glitch when pager was visible and then hidden when clicking, in the index, on a message that was previously opened in the pager the message body was redrawn over the index. Make sure we don't pass mouse event to the pager when it is not visible as otherwise the text area will start redrawing.
--- a/main.c
+++ b/main.c
@@ -98,7 +98,8 @@
mouse(Mouse m)
{
indexmouse(m);
- pagermouse(m);
+ if(collapsed)
+ pagermouse(m);
}
void