mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 11:58:03 +02:00
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.
This commit is contained in:
parent
44d4de656b
commit
824c6d0e38
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue