projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d4de6
)
window: Use CAIRO_OPERATOR_OVER for rendering the menu
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 19 Jan 2012 18:54:09 +0000
(13:54 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 19 Jan 2012 18:54:11 +0000
(13:54 -0500)
We forgot to switch back from CAIRO_OPERATOR_SOURCE, which is broken,
but also hits a broken fallback in cairo-gl.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
6cd9300
..
fe7508d
100644
(file)
--- 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);