diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/xpdf/patch-scrlock | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print/xpdf/patch-scrlock b/print/xpdf/patch-scrlock new file mode 100644 index 0000000..24f4509 --- /dev/null +++ b/print/xpdf/patch-scrlock @@ -0,0 +1,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; + } + |