summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-19 09:47:53 +0100
committerBert <ber.t@gmx.com>2011-02-19 09:47:53 +0100
commita367d35ba0f9edf8a01f7d98d9f58df9df292c15 (patch)
tree23bb1e805eac062c9902f0d7a61010c4fb2ed2dd /thumbs.h
parentc6726ed331ed1fbe72fd28f48ebe41c4ccd721e0 (diff)
downloadnsxiv-a367d35ba0f9edf8a01f7d98d9f58df9df292c15.tar.zst
Update title when moving selection
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thumbs.h b/thumbs.h
index e6c6e7f..2f1c14d 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -45,6 +45,7 @@ typedef struct tns_s {
int rows;
int first;
int sel;
+ unsigned char dirty;
} tns_t;
void tns_init(tns_t*, int);
@@ -55,7 +56,7 @@ void tns_load(tns_t*, win_t*, const char*);
void tns_render(tns_t*, win_t*);
void tns_highlight(tns_t*, win_t*, int);
-void tns_move_selection(tns_t*, win_t*, movedir_t);
+int tns_move_selection(tns_t*, win_t*, movedir_t);
int tns_translate(tns_t*, int, int);