How to remove the borders around transparent urxvt windows?
When opening multiple urxvt windows with transparency enabled, there are regions around the borders where transparency does not work. The border is black. How can this be fixed?
When opening multiple urxvt windows with transparency enabled, there are regions around the borders where transparency does not work. The border is black. How can this be fixed?
EDIT: The latest version of i3 now ignores resize hints so this is not necessary.
answered 2012-06-27 06:03:48 +0000
This post is a wiki. Anyone with karma >100 is welcome to improve it.
The border around transparent urxvt windows is because urxvt is only dealing with the space it can really use itself. The leftover space is too small to put an extra character, so urxvt is not displaying it. i3 does not implement transparency, but leaves it to the applications to apply pseudo-transparency. This results in a black border. At the moment, it is not likely that either urxvt will fix this behavior, and the i3 devs seem to have other priorities at the moment.
note: the border is drawn by i3 because otherwise you have graphics corruption in that space in non-transparent setups. You can remove the relevant lines in the code for now. Also note: transparency is neither endorsed nor supported by the i3 devs, so we don’t care about transparency issues :).
Actually, urxvt does seem to support window managers that do not honor its size hints now. I just did a short test by using URxvt.transparency and commenting out the part of i3 that handles the size increment hints (src/handlers.c 743 to 757). It works quite nicely.
Asked: 2012-06-27 05:56:11 +0000
Seen: 1,696 times
Last updated: Sep 20 '12