summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-01-19 13:54:09 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-01-19 13:54:11 -0500
commit824c6d0e3843fab3bdb0717782c6b4621ad3dc8c (patch)
tree559d43322b49a80b17256dca6805b4e44f907420
parent44d4de656b90a10afa92df2c73b56ed9faed2053 (diff)
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.
-rw-r--r--clients/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c
index 6cd9300..fe7508d 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);