Highlight edges of marked images in thumbnail mode
This commit is contained in:
8
main.c
8
main.c
@ -65,7 +65,6 @@ win_t win;
|
||||
|
||||
fileinfo_t *files;
|
||||
int filecnt, fileidx;
|
||||
int markcnt;
|
||||
int alternate;
|
||||
|
||||
int prefix;
|
||||
@ -493,6 +492,13 @@ void on_buttonpress(XButtonEvent *bev)
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case Button3:
|
||||
if ((sel = tns_translate(&tns, bev->x, bev->y)) >= 0) {
|
||||
files[sel].marked = !files[sel].marked;
|
||||
tns_mark(&tns, sel, files[sel].marked);
|
||||
redraw();
|
||||
}
|
||||
break;
|
||||
case Button4:
|
||||
case Button5:
|
||||
if (tns_scroll(&tns, bev->button == Button4 ? DIR_UP : DIR_DOWN,
|
||||
|
Reference in New Issue
Block a user