app-text/fbpdf: add SIGUSR1 patches to make it act more like mupdf
[sgilles-overlay.git] / app-text / fbpdf / files / 0002-smoother-scrolling.patch
blob413cf9c14a48f442108f66ba5296f7a1934687b1
1 From 3519e7b731a14c9a52e8c140c092206dbbe51243 Mon Sep 17 00:00:00 2001
2 From: "S. Gilles" <sgilles@math.umd.edu>
3 Date: Fri, 30 Nov 2018 10:45:05 +0000
4 Subject: [PATCH 2/5] smoother scrolling
6 ---
7 fbpdf.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/fbpdf.c b/fbpdf.c
11 index 7c387e9..334a562 100644
12 --- a/fbpdf.c
13 +++ b/fbpdf.c
14 @@ -28,7 +28,7 @@
15 #define MIN(a, b) ((a) < (b) ? (a) : (b))
16 #define MAX(a, b) ((a) > (b) ? (a) : (b))
18 -#define PAGESTEPS 8
19 +#define PAGESTEPS 24
20 #define MAXZOOM 100
21 #define MARGIN 1
22 #define CTRLKEY(x) ((x) - 96)
23 --
24 2.19.2