mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Update decoration drawing to be less cairo path happy
This commit is contained in:
parent
49e868cb05
commit
dcb71b62a0
6 changed files with 220 additions and 85 deletions
|
|
@ -136,7 +136,7 @@ terminal_draw_contents(struct terminal *terminal)
|
|||
|
||||
window_get_child_rectangle(terminal->window, &rectangle);
|
||||
|
||||
surface = window_create_surface(terminal->window, &rectangle);
|
||||
surface = display_create_surface(terminal->display, &rectangle);
|
||||
cr = cairo_create(surface);
|
||||
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
|
||||
cairo_set_source_rgba(cr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue