aboutsummaryrefslogtreecommitdiff
path: root/sway/border.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/border.c')
-rw-r--r--sway/border.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/border.c b/sway/border.c
index db1a3836..c96ae6fe 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -46,6 +46,7 @@ static cairo_t *create_border_buffer(swayc_t *view, struct wlc_geometry g, cairo
return NULL;
}
cr = cairo_create(*surface);
+ cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
if (cairo_status(cr) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(*surface);
border_clear(view->border);