diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-18 18:50:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-18 18:50:22 +0200 |
commit | 06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d (patch) | |
tree | 0eaf4e85da964e98d7cd4f9cc72bba8ac14a05a2 /usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom | |
parent | 123687a5aa3482b5ba9ca86179526c94422b409d (diff) | |
download | patches-06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d.tar.gz |
Move usr/*src to *src
Diffstat (limited to 'usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom')
-rw-r--r-- | usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom b/usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom deleted file mode 100644 index 865bac8..0000000 --- a/usr/xsrc/external/mit/xterm/dist/patch-scroll-bottom +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD$ - -Add scroll-bottom action. - ---- charproc.c.orig 2018-03-14 06:04:22.000000000 +0000 -+++ charproc.c -@@ -259,6 +259,7 @@ static XtActionsRec actionsList[] = { - { "quit", HandleQuit }, - { "redraw", HandleRedraw }, - { "scroll-back", HandleScrollBack }, -+ { "scroll-bottom", HandleScrollBottom }, - { "scroll-forw", HandleScrollForward }, - { "secure", HandleSecure }, - { "select-cursor-end", HandleKeyboardSelectEnd }, - ---- scrollbar.c.orig 2021-07-16 07:44:23.160211555 +0000 -+++ scrollbar.c -@@ -757,6 +757,20 @@ HandleScrollBack( - } - } - -+/*ARGSUSED*/ -+void -+HandleScrollBottom( -+ Widget xw, -+ XEvent *event GCC_UNUSED, -+ String *params, -+ Cardinal *nparams) -+{ -+ XtermWidget xtw; -+ -+ if ((xtw = getXtermWidget(xw)) != 0) -+ WindowScroll(xtw, 0, True); -+} -+ - #if OPT_SCROLL_LOCK - #define SCROLL_LOCK_LED 3 - - ---- xterm.h.orig 2019-07-11 08:08:47.000000000 +0000 -+++ xterm.h -@@ -1346,6 +1346,7 @@ extern void deleteScrollback (TScreen * - /* scrollbar.c */ - extern void DoResizeScreen (XtermWidget /* xw */); - extern void HandleScrollBack PROTO_XT_ACTIONS_ARGS; -+extern void HandleScrollBottom PROTO_XT_ACTIONS_ARGS; - extern void HandleScrollForward PROTO_XT_ACTIONS_ARGS; - extern void ResizeScrollBar (XtermWidget /* xw */); - extern void ScrollBarDrawThumb (Widget /* scrollWidget */); |