summaryrefslogtreecommitdiffstats
path: root/swaylock/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock/main.c')
-rw-r--r--swaylock/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index 3dee6e4f..f738b09d 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -570,6 +570,11 @@ void render(struct render_data *render_data) {
570 int wwidth = window->width * window->scale; 570 int wwidth = window->width * window->scale;
571 int wheight = window->height * window->scale; 571 int wheight = window->height * window->scale;
572 572
573 cairo_save(window->cairo);
574 cairo_set_operator(window->cairo, CAIRO_OPERATOR_CLEAR);
575 cairo_paint(window->cairo);
576 cairo_restore(window->cairo);
577
573 // Reset the transformation matrix 578 // Reset the transformation matrix
574 cairo_identity_matrix(window->cairo); 579 cairo_identity_matrix(window->cairo);
575 580