From 810a9651a362992383081619ca63122f41f1cd0a Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 1 Jun 2022 14:59:16 +0600 Subject: reduce calls to win-title rather than calling the script unconditionally per redraw, we now have a `title_dirty` flag and keep track of when any of the relavent information changes. Co-authored-by: Arthur Williams Partially fixes: https://github.com/nsxiv/nsxiv/issues/258 --- nsxiv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nsxiv.h') diff --git a/nsxiv.h b/nsxiv.h index 1b11cba..c781aa5 100644 --- a/nsxiv.h +++ b/nsxiv.h @@ -470,5 +470,6 @@ extern int alternate; extern int markcnt; extern int markidx; extern int prefix; +extern bool title_dirty; #endif /* NSXIV_H */ -- cgit v1.2.3-70-g09d2