Commit f5bd7b83 authored by Olivier Fourdan's avatar Olivier Fourdan 🛠️
Browse files

pixmap: Fix rendering without XRender



Bug: 16713

Without XRender, the mask would be misrendered and completely
transparent.

As a result, the entire pixmap would become totally transparent and all
window decorations become invisible.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>

(cherry picked from commit 7bd23e3f)
parent 18a9ad00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -882,7 +882,7 @@ xfwmPixmapDrawFromGdkPixbuf (xfwmPixmap * pm, GdkPixbuf *pixbuf)
        }

        cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
        cairo_set_source_rgba (cr, 0, 0, 0, 1);
        cairo_set_source_rgba (cr, 1, 1, 1, 1);
        cairo_fill (cr);
    }
    else