From 06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= <john@ankarstrom.se>
Date: Sun, 18 Jul 2021 18:50:22 +0200
Subject: Move usr/*src to *src

---
 xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey

(limited to 'xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey')

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);
+ 
-- 
cgit v1.2.3