aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2022-02-23 10:23:22 +0100
committerGitHub <noreply@github.com>2022-02-23 10:23:22 +0100
commite26c81fe9ab43ef0148f51464dbae0f7a0e2b91e (patch)
treed65b9950f1c9310e40490302d77782c182a47377 /thumbs.c
parentad95012be993664e062e7724155c54a482a51315 (diff)
downloadnsxiv-e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e.tar.zst
use win-title script for customizing window title (#213)
this removes the cli flag `-T` as well as related config.h options. Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/thumbs.c b/thumbs.c
index 4c02e6a..04ef77f 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -36,7 +36,6 @@ void exif_auto_orientate(const fileinfo_t*);
Imlib_Image img_open(const fileinfo_t*);
static char *cache_dir;
-extern const int fileidx;
static char* tns_cache_filepath(const char *filepath)
{
@@ -530,7 +529,6 @@ bool tns_move_selection(tns_t *tns, direction_t dir, int cnt)
if (!tns->dirty)
tns_highlight(tns, *tns->sel, true);
}
- win_set_title(tns->win, tns->files[fileidx].path);
return *tns->sel != old;
}