-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 5e63479dbefbd18dca25d6b0180edb4764457383:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 5e63479dbefbd18dca25d6b0180edb4764457383
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat Feb 18 15:44:26 2006 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index 816f63d6c105d6f55fcc633b5e72a4f43191a61b..

index ..f0f407189e63149a4d0ea117034f92c12a3d3758 100644

--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 rxvt-unicode changelog <= google-friendly title

+TODO: xcopyarea pass broken, fix and improve
 TODO: event mechanism that replaces on_keyboard_command with something more scalable.
 TODO: overlays collide with the way the out-of-focus cursor is being drawn
 TODO: split perl documentation and urxvt.pm into separate files
@@ -32,6 +33,8 @@ DUMB: support tex fonts
           so also check for matching fg colours. This fixes the problem where
           selecting newly scrolled-in lines would exhibit wrong colours.
         - fix a race resulting in a crash on exiting.
+        - fix a bug in xcopyarea pass and _disable_ it, as it seems not to be
+          working in either rxvt-unicode nor in the original rxvt.

 7.6  Fri Feb 10 08:52:36 CET 2006
 	- changed interpretation of [alpha] colour prefix.
diff --git a/src/feature.h b/src/feature.h

index cc6be64c3da572dd96f4e677fde40a39d07f3dd3..

index ..94240d7ce1f6ce4e999508ffba6c334f7d78d606 100644

--- a/src/feature.h
+++ b/src/feature.h
@@ -136,7 +136,7 @@
  * Define to remove support for XCopyArea () support.  XCopyArea () is useful
  * for scrolling on non-local X displays
  */
-#undef NO_SLOW_LINK_SUPPORT
+#define NO_SLOW_LINK_SUPPORT

 /*
  * Printer pipe which will be used for emulation of attached vt100 printer
diff --git a/src/screen.C b/src/screen.C

index 66fc25c75ac1269ba560e1de11116ce3b9519244..

index ..5325720b1827488c3e3607b3c4b77fd731c9714f 100644

--- a/src/screen.C
+++ b/src/screen.C
@@ -2108,6 +2108,7 @@ rxvt_term::scr_refresh () NOTHROW
       && abs (num_scr) < nrow && !have_bg)
     {
       int16_t nits;
+      int i = num_scr;
       int j;
       int len, wlen;
       dLocal (int, num_scr);
@@ -2115,6 +2116,7 @@ rxvt_term::scr_refresh () NOTHROW
       j = nrow;
       wlen = len = -1;
       row = i > 0 ? 0 : j - 1;
+
       for (; j-- >= 0; row += (i > 0 ? 1 : -1))
         {
           if (row + i >= 0 && row + i < nrow && row + i != ocrow)
@@ -2145,7 +2147,7 @@ rxvt_term::scr_refresh () NOTHROW
                 }
             }

-          if (len != -1)
+          if (len >= 0)
             {
               /* also comes here at end if needed because of >= above */
               if (wlen < len)

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 09:26:43 2024