1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"));
|