aboutsummaryrefslogtreecommitdiff
path: root/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-18 18:50:22 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-18 18:50:22 +0200
commit06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d (patch)
tree0eaf4e85da964e98d7cd4f9cc72bba8ac14a05a2 /xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
parent123687a5aa3482b5ba9ca86179526c94422b409d (diff)
downloadpatches-06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d.tar.gz
Move usr/*src to *src
Diffstat (limited to 'xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey')
-rw-r--r--xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey14
1 files changed, 14 insertions, 0 deletions
diff --git a/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey b/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
new file mode 100644
index 0000000..56c6e1c
--- /dev/null
+++ b/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- input.c.orig 2021-07-17 15:01:03.290490780 +0000
++++ input.c
+@@ -1376,6 +1376,9 @@ Input(XtermWidget xw,
+ }
+ unparse_end(xw);
+
++ if (screen->scrollkey && kd.keysym != XK_Return)
++ SetScrollLock(screen, False);
++
+ if (key && !TEK4014_ACTIVE(xw))
+ AdjustAfterInput(xw);
+