also allow scrolling when the position is exactly on the pane its scrollbar - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
 (HTM) git clone git://git.codemadness.org/sfeed_curses
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 031a577c39cdd4fcf518569d2ca7e869e646313f
 (DIR) parent 357de99788bf6760165d1934d4dc4838c18f1583
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Wed, 24 Mar 2021 23:07:07 +0100
       
       also allow scrolling when the position is exactly on the pane its scrollbar
       
       Diffstat:
         M sfeed_curses.c                      |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/sfeed_curses.c b/sfeed_curses.c
       @@ -1702,8 +1702,8 @@ mousereport(int button, int release, int keymask, int x, int y)
                                return;
                        }
        
       -                /* check if mouse position is in pane */
       -                if (!(x >= p->x && x < p->x + p->width &&
       +                /* check if mouse position is in pane or its scrollbar */
       +                if (!(x >= p->x && x < p->x + p->width + (!scrollbars[i].hidden) &&
                              y >= p->y && y < p->y + p->height))
                                continue;