From a297a0f56d39d864733b9dc05834b256d1dcdfd8 Mon Sep 17 00:00:00 2001 From: anon Date: Tue, 15 Aug 2023 15:22:06 +0200 Subject: [PATCH] . --- src/display.c | 10 ++++++++-- src/version.h | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/display.c b/src/display.c index 7aa4a68..7c394e2 100644 --- a/src/display.c +++ b/src/display.c @@ -91,8 +91,8 @@ extern const char tooltip_wresult[]; WINDOW *winput; WINDOW *wmode; WINDOW *wresult; -WINDOW *whelp; /* Non-Selectable windows */ +WINDOW *whelp; WINDOW *wtooltip; WINDOW *wcase; /* Selected window pointer */ @@ -797,10 +797,16 @@ void display(void) { if(window_change == CH_HELP) { display_frame(true); display_help(); + + window_change = CH_ALL; + /* Since whelp is not Selectable, + * trigger the tooltip redisplay + * this way + */ + lstwin = NULL; /* Do not display over the help msg and * rely on setting CH_ALL for the next display */ - window_change = CH_ALL; return; } if(window_change == CH_ALL) { display_frame(false); } diff --git a/src/version.h b/src/version.h index 72c89bd..540637a 100644 --- a/src/version.h +++ b/src/version.h @@ -39,7 +39,7 @@ #ifndef CSCOPE_VERSION_H #define CSCOPE_VERSION_H -#define FILEVERSION 15 /* Initial Open Source and Linux Port */ -#define FIXVERSION ".9" /* feature and bug fix version */ +#define FILEVERSION 16 /* Initial Open Source and Linux Port */ +#define FIXVERSION ".0" /* feature and bug fix version */ #endif /* CSCOPE_VERSION_H */