diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-27 16:21:01 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-27 16:21:01 +0200 |
commit | 1cdbeb972a64e1fb12db5dc05fbaa1428e72bb12 (patch) | |
tree | 9e0d12081ff6f8b9708422f10e0f3e1047ccf6ae /main.c | |
parent | 3e2523818b2420a86d71ac7c908ddcbb800abd38 (diff) |
Added screen-wise scrolling for thumbnail mode
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -394,7 +394,8 @@ void on_buttonpress(XButtonEvent *bev) { break; case Button4: case Button5: - if (tns_scroll(&tns, bev->button == Button4 ? DIR_UP : DIR_DOWN)) + if (tns_scroll(&tns, bev->button == Button4 ? DIR_UP : DIR_DOWN, + (bev->state & ControlMask) != 0)) redraw(); break; } |