aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-09 23:54:11 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-09 23:54:11 +0200
commite02dabab644a6760c481e25e913d6bb01f94adec (patch)
tree8a5ee54755f0cf7b03b675b3edb3e36b0250802d /print
parent61268bb4f112904621f8019975f74d88314738e9 (diff)
downloadpatches-e02dabab644a6760c481e25e913d6bb01f94adec.tar.gz
Add print/xpdf/patch-swap-bbs
Diffstat (limited to 'print')
-rw-r--r--print/xpdf/patch-swap-bbs24
1 files changed, 24 insertions, 0 deletions
diff --git a/print/xpdf/patch-swap-bbs b/print/xpdf/patch-swap-bbs
new file mode 100644
index 0000000..78a6439
--- /dev/null
+++ b/print/xpdf/patch-swap-bbs
@@ -0,0 +1,24 @@
+$NetBSD
+
+Swap the Backspace and b key bindings.
+
+--- xpdf/GlobalParams.cc.orig 2021-06-09 22:53:14.586298336 +0200
++++ xpdf/GlobalParams.cc
+@@ -885,7 +885,7 @@ void GlobalParams::createDefaultKeyBindings() {
+ "scrollToBottomRight"));
+ keyBindings->append(new KeyBinding(xpdfKeyCodePgUp, xpdfKeyModNone,
+ xpdfKeyContextAny, "pageUp"));
+- keyBindings->append(new KeyBinding(xpdfKeyCodeBackspace, xpdfKeyModNone,
++ keyBindings->append(new KeyBinding('b', xpdfKeyModNone,
+ xpdfKeyContextAny, "pageUp"));
+ keyBindings->append(new KeyBinding(xpdfKeyCodeDelete, xpdfKeyModNone,
+ xpdfKeyContextAny, "pageUp"));
+@@ -941,7 +941,7 @@ void GlobalParams::createDefaultKeyBindings() {
+ "prevPageNoScroll"));
+ keyBindings->append(new KeyBinding('v', xpdfKeyModNone,
+ xpdfKeyContextAny, "goForward"));
+- keyBindings->append(new KeyBinding('b', xpdfKeyModNone,
++ keyBindings->append(new KeyBinding(xpdfKeyCodeBackspace, xpdfKeyModNone,
+ xpdfKeyContextAny, "goBackward"));
+ keyBindings->append(new KeyBinding('g', xpdfKeyModNone,
+ xpdfKeyContextAny, "focusToPageNum"));