Recent mrxvt versions and backgrounds
I wanted to see if anyone else was having this issue before I considered it a bug. For awhile now, Mrxvt (xterminal, similar to rxvt, aterm and friends) has compiled with background support, but the actual backgrounds don't show up. Transparency is the same. The last working version I have is 0.4.2. I'm not talking about packages or RPM's, but the source as you'd get it here: http://materm.sourceforge.net/wiki/
Currently, 0.4.2 I can recompile and it works as expected, but 0.5.1, no backgrounds, there is only solid black where there should be a pixmap. The image type doesn't matter. X is XFree86 4.6.0, but I've attempted compiles with prior versions of mrxvt on X.org implementations and had the same result. A configure command like this should get a debug build with everything relavent enabled. You must set TERMENV in config.h to what you want as the script seems to set "rxvt" when I specify "mrxvt" (providing you do have an entry for an "mrxvt" in terminfo and termcap. You can also make one from the example in the source tarball if you have the "tic" program.) Code:
env CFLAGS='-pipe -O2 -I/usr/local/include -I/usr/X11R6/include' CPPFLAGS='-pipe -O2 -I/usr/local/include -I/usr/X11R6/include ' LDFLAGS='-L/usr/X11R6/lib ' ./configure --prefix=/usr --enable-everything --enable-debug --enable-ourstrings --enable-mouseslipwheel --enable-text-shadow --enable-menubar --enable-transparency --enable-xrender --enable-xpm --enable-jpeg --enable-png --enable-xft --enable-xim --enable-utempter --enable-resources --with-termname=mrxvt --with-save-lines=600 --with-terminfo=/usr/share/terminfo --with-x Code:
[ jayjwa@vdrl:~/mrxvt-0.5.1>] src/mrxvt -pixmap /usr/share/pixmaps/winter.xpm |
Well, I have mrxvt 0.5.1 compiled from source, as per the INSTALL file:
Code:
./configure --enable-everything --disable-debug Mind that there is a change in some of the keywords used in .mrxvt (and the respective options used from command line) when you run mrxvt. Read the man page for details. Regards |
Unfortunately I get the same results as far as backgrounds and transparenacy when using that minimal config. Time to pull out gdb and see what's going on I guess. :cry:
OK, started on this, everything looks good up until XMapWindow, here -> XMapWindow (r->Xdisplay, PVTS(r, page)->vt); Calling that renders the blacked out background I'm seeing. Final Edit: Solved. Enabling tinting is what was doing it. --disable-tinting lets both transparent and pixmap options work (with everything else possible to enable enabled). |
All times are GMT -5. The time now is 02:42 PM. |