This is a fairly extensive patch that adds what I
believe is more flexible support of borders in bbpager.
It appears to me that the current code does the following:
1) It ignores any borders specified as part of a
texture. To do this, it implements its own texture
reading code instead of using the code from libbt. This
actually leads to a rendering bug in one of my styles
in which a white border is drawn along the top and left
sides of textures with the word "border" in them. I'm
not sure why, but it might happen only with "flat solid
border" textures.
2) It automatically adds a 1px border to all pager
windows. The user cannot change this in the
configuration options.
3) It automatically adds a 1px border to the active
desktop (if desktop focus style is "border") and adds
no border to the inactive desktop. The user cannot
change this in the configuration options.
This patch addresses all the issues above by doing the
following:
1) It uses the libbt code to read textures, therefore
allowing the textures themselves to have borders.
2) It allows user-configurable border widths and colors
for focused and unfocused pager windows as well as
active and inactive desktops. To do this it adds
several configuration options.
Please note that this patch should be applied *after*
patches 1497190, 1497197, 1497198, and 1497201.
border support patch