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
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.
* 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
#include <fcntl.h>
#include <sys/utsname.h>
-
-#ifndef NO_SLOW_LINK_SUPPORT
-# include <sys/socket.h>
-# include <sys/un.h>
-#endif
+#include <sys/socket.h>
+#include <sys/un.h>
#if XFT
# include <X11/extensions/Xrender.h>
int fd = XConnectionNumber (dpy);
-#ifndef NO_SLOW_LINK_SUPPORT
// try to detect wether we have a local connection.
// assume unix domains socket == local, everything else not
// TODO: might want to check for inet/127.0.0.1
if (!getsockname (fd, (sockaddr *)&sa, &sl))
is_local = sa.sun_family == AF_LOCAL;
-#endif
x_ev.start (fd, EVENT_READ);
fcntl (fd, F_SETFD, FD_CLOEXEC);
Window root;
rxvt_term *selection_owner;
Atom xa[NUM_XA];
-#ifndef NO_SLOW_LINK_SUPPORT
bool is_local;
-#endif
#ifdef POINTER_BLANK
Cursor blank_cursor;
#endif
&& abs (num_scr) < nrow && !have_bg)
{
int16_t nits;
+ int i = num_scr;
int j;
int len, wlen;
dLocal (int, num_scr);
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)
}
}
- if (len != -1)
+ if (len >= 0)
{
/* also comes here at end if needed because of >= above */
if (wlen < len)