----- Forwarded message from D J Hawkey Jr -----
Date: Fri, 26 Oct 2001 08:09:46 -0500
From: D J Hawkey Jr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Not a bug, a feature hack
Hello all.
I made a simple hack to rxvt-2.6.3, for window managers that are direct
descendants of TWM (in my case, VTWM).
rxvt's transparency feature goes out of it's way to see that the window
frame is made transparent (for Enlightenment, I presume?), but that is,
IMHO, really ugly on VTWM, CTWM, and other TWM offspring that can render
3D borders. This patch (below my ASCII-sig) makes a command-line option
to leave the frame alone.
On a different front, the QNX support in the developer's release looks
to be broken, and I have neither the time nor inclination to fix it
(sorry), as QNX is no longer my main development/desktop system, and
QSSL is depreciating QNX4 in favor of its Neutrino-based OS anyway. Yes,
I'm the "D. J. Hawkey Jr." who hacked rxvt-2.6.1 to support QNX,
Finally, does anyone on this mailing list know the magic to get the
Home, End, Backspace, and Delete keys to work properly on FreeBSD? I've
exhausted the methods as outlined in the distribution to no avail, and
would be most interested in a "Rxvt*keysym.KEYSYM: ESCVAL" solution for
inclusion in $(HOME)/.Xdefaults.
Thanks,
Dave
--
______________________ ______________________
\__________________ \ D. J. HAWKEY JR. / __________________/
\________________/\ [EMAIL PROTECTED] /\________________/
http://www.visi.com/~hawkeyd/
---8<---
--- rxvt.h.DIST Sun Apr 9 21:32:19 2000
+++ rxvt.h Thu Oct 25 10:39:51 2001
@@ -469,6 +469,7 @@
#define Opt_scrollTtyOutput (1LU<<11)
#define Opt_scrollKeypress (1LU<<12)
#define Opt_transparent (1LU<<13)
+#define Opt_leaveFrame (1LU<<14)
/* place holder used for parsing command-line options */
#define Opt_Reverse (1LU<<30)
#define Opt_Boolean (1LU<<31)
@@ -616,6 +617,7 @@
#endif
#ifdef TRANSPARENT
Rs_transparent,
+ Rs_leaveFrame,
#endif
Rs_cutchars,
Rs_modifier,
--- screen.c.DIST Thu Jul 13 22:29:29 2000
+++ screen.c Thu Oct 25 10:45:00 2001
@@ -2630,6 +2630,9 @@
if (Options & Opt_transparent) {
int i;
+ if (Options & Opt_leaveFrame)
+ XClearWindow(Xdisplay, TermWin.parent[0]);
+ else
for (i = KNOW_PARENTS; i--;)
if (TermWin.parent[i] != None)
XClearWindow(Xdisplay, TermWin.parent[i]);
--- xdefaults.c.DIST Wed Jul 5 01:51:45 2000
+++ xdefaults.c Thu Oct 25 10:42:18 2001
@@ -112,6 +112,8 @@
BOOL(Rs_transparent, "inheritPixmap", "ip",
Opt_transparent, "inherit parent pixmap"),
SWCH("tr", Opt_transparent, NULL),
+ BOOL(Rs_leaveFrame, "leaveFrame", "lf",
+ Opt_leaveFrame, "leave frame alone"),
#endif
BOOL(Rs_utmpInhibit, "utmpInhibit", "ut", Opt_utmpInhibit,
"utmp inhibit"),
--->8---
----- End forwarded message -----