From 824c6d0e3843fab3bdb0717782c6b4621ad3dc8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 19 Jan 2012 13:54:09 -0500 Subject: [PATCH] window: Use CAIRO_OPERATOR_OVER for rendering the menu We forgot to switch back from CAIRO_OPERATOR_SOURCE, which is broken, but also hits a broken fallback in cairo-gl. --- clients/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 6cd930000..fe7508d77 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2416,7 +2416,8 @@ menu_redraw_handler(struct widget *widget, void *data) width = window->allocation.width; height = window->allocation.height; rounded_rect(cr, 0, 0, width, height, r); - cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); + + cairo_set_operator(cr, CAIRO_OPERATOR_OVER); cairo_set_source_rgba(cr, 0.0, 0.0, 0.4, 0.8); cairo_fill(cr);