mrxvt/no-scroll-with-buffer-mrxvt-0.5.3.patch
2007-11-28 04:12:09 +00:00

61 lines
2.1 KiB
Diff

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