summaryrefslogtreecommitdiffstats
path: root/system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch')
-rw-r--r--system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch b/system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch
new file mode 100644
index 0000000000..08b926a2a9
--- /dev/null
+++ b/system/mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch
@@ -0,0 +1,60 @@
+Index: src/rxvtlib.h
+===================================================================
+--- src/rxvtlib.h (revision 244)
++++ src/rxvtlib.h (working copy)
+@@ -280,7 +280,7 @@
+ #define Opt_forceTransparent ((1LU<<16) | IS_OPTION1)
+ #define Opt_mc_hack ((1LU<<17) | IS_OPTION1)
+ #define Opt_tripleclickwords ((1LU<<18) | IS_OPTION1)
+-#define Opt_scrollWithBuffer ((1LU<<19) | IS_OPTION1)
++/* #define Opt_scrollWithBuffer ((1LU<<19) | IS_OPTION1) */
+ #define Opt_mouseWheelScrollPage ((1LU<<21) | IS_OPTION1)
+ #define Opt_pointerBlank ((1LU<<22) | IS_OPTION1)
+ #define Opt_cursorBlink ((1LU<<23) | IS_OPTION1)
+Index: src/xdefaults.c
+===================================================================
+--- src/xdefaults.c (revision 244)
++++ src/xdefaults.c (working copy)
+@@ -203,8 +203,6 @@
+ "scroll-on-tty-output inhibit" ),
+ BOOL( "scrollTtyKeypress", "sk", Opt_scrollTtyKeypress,
+ "scroll-on-keypress" ),
+- BOOL( "scrollWithBuffer", "sw", Opt_scrollWithBuffer,
+- "scroll-with-buffer" ),
+
+ STRG(Rs_opacity, "opacity", "o", "%",
+ "transluscent window (true transparent) opaque degree", 0),
+Index: src/screen.c
+===================================================================
+--- src/screen.c (revision 244)
++++ src/screen.c (working copy)
+@@ -938,10 +938,6 @@
+ PVTS(r, page)->nscrolled = SVLINES;
+ else
+ PVTS(r, page)->nscrolled = (uint16_t)nscrolled;
+- if (ISSET_OPTION(r, Opt_scrollWithBuffer) &&
+- VSTART != 0 &&
+- VSTART != SVLINES)
+- rxvt_scr_page(r, page, UP, count);
+ }
+ else if (!spec)
+ row1 += SVLINES;
+Index: doc/mrxvt.1
+===================================================================
+--- doc/mrxvt.1 (revision 244)
++++ doc/mrxvt.1 (working copy)
+@@ -329,14 +329,6 @@
+ Draw floating scrollbar (i.e. without a trough).
+ .Op Cm scrollbarFloating
+ .
+-.BO sw
+-Scroll synchronusly with buffer. Normally
+-.Nm
+-does not keep the screen completely up to date while scrolling. This allows
+-.Nm
+-to run faster when network latencies are very high and is typically useful when running across a very large internet or many gateways.
+-.Op Cm scrollWithBuffer
+-.
+ .El
+ .Ed
+ .\" {{{2 color