all repos — fluxbox @ d050c6d0a6a103d743bd5c6b75eb6f0a92a204cb

custom fork of the fluxbox windowmanager

minor fix for alpha 0
fluxgen fluxgen
commit

d050c6d0a6a103d743bd5c6b75eb6f0a92a204cb

parent

041dbad57157b44e73dfb9853c1c4f7458da9bc5

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/Transparent.ccsrc/FbTk/Transparent.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Transparent.cc,v 1.4 2003/05/07 09:31:29 fluxgen Exp $ +// $Id: Transparent.cc,v 1.5 2003/05/13 20:50:56 fluxgen Exp $ #include "Transparent.hh" #include "App.hh"

@@ -79,6 +79,8 @@ color.red = 0xFF;

color.blue = 0xFF; color.green = 0xFF; color.alpha = ((unsigned short) (255 * alpha) << 8); + if (alpha == 0) + color.alpha = 0xFF00; XRenderFillRectangle(disp, PictOpSrc, alpha_pic, &color, 0, 0, 1, 1);