blob: 24f450968c1c6e4396d8fbd24af339ec52355d4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD
Act as if Scroll Lock is always enabled. Useful if one cannot get
the Scroll Lock key to be properly detected.
--- xpdf/XPDFViewer.cc.orig 2021-06-04 00:11:44.381798737 +0200
+++ xpdf/XPDFViewer.cc
@@ -660,7 +660,7 @@ int XPDFViewer::getContext(Guint modifiers) {
(core->getLinkAction() ? xpdfKeyContextOverLink
: xpdfKeyContextOffLink) |
((modifiers & Mod5Mask) ? xpdfKeyContextScrLockOn
- : xpdfKeyContextScrLockOff);
+ : xpdfKeyContextScrLockOn);
return context;
}
|