diff options
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/window-manager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 4977c243..4acb5343 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -973,9 +973,7 @@ weston_wm_window_draw_decoration(void *data) cairo_set_source_rgba(cr, 0, 0, 0, 0); cairo_paint(cr); - cairo_set_operator(cr, CAIRO_OPERATOR_OVER); - cairo_set_source_rgba(cr, 0, 0, 0, 0.45); - tile_mask(cr, t->shadow, 2, 2, width + 8, height + 8, 64, 64); + render_shadow(cr, t->shadow, 2, 2, width + 8, height + 8, 64, 64); } cairo_destroy(cr); |