Update selection when context changed on mouse click

This commit is contained in:
Arun Prakash Jana 2019-12-12 21:29:48 +05:30
parent 73593450ac
commit fcba62d296
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4328,6 +4328,11 @@ nochange:
if (r >= CTX_MAX)
sel = SEL_BACK;
else if (r >= 0 && r < CTX_MAX && r != cfg.curctx) {
if (cfg.selmode) {
updateselbuf(path, newpath);
ctx_changed = TRUE;
}
savecurctx(&cfg, path, dents[cur].name, r);
/* Reset the pointers */