This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Activate thumb-mode with Return key
master
Bert
14 years ago
parent
f235b62741
commit
76cca4ecb6
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
main.c
+ 12
- 0
main.c
View File
@@ -378,6 +378,18 @@ void on_keypress(XKeyEvent *kev) {
}
break;
/* switch to thumnail mode */
case XK_Return:
if (options->thumbnails) {
if (fileidx < tns.cnt)
tns.sel = fileidx;
else
tns.sel = 0;
mode = MODE_THUMBS;
changed = 1;
}
break;
/* miscellaneous */
case XK_a:
img_toggle_antialias(&img);
Write
Preview
Loading…
Cancel
Save