From 040607b59574f39d92d3cc03dd10e347790869d3 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 2 Nov 2023 09:08:16 +0100 Subject: [PATCH] Minor change in Fl_Wayland_Graphics_Driver::copy_offscreen() --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx index 81c09776e..6e9f454e7 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx @@ -265,7 +265,7 @@ void Fl_Wayland_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, cairo_matrix_init_scale(&matrix, s, s); cairo_matrix_translate(&matrix, -(x - srcx), -(y - srcy)); cairo_pattern_set_matrix(pat, &matrix); - cairo_mask(cairo_, pat); + cairo_paint(cairo_); cairo_pattern_destroy(pat); cairo_restore(cairo_); }