summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-20 15:20:31 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-20 15:20:31 +0100
commit0fa49f0ab4136262dc16c1b30bf07e3fcef36be5 (patch)
treed5ab5146b28aee9facb6544901229802024dd031 /src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
parentaf90841fbc0a7090d7f3979c4d71aeeec1fbcb4b (diff)
Use type cairo_region_t* for Fl_Region under Wayland platform
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 92e04d578..e8a0a1af9 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -408,7 +408,7 @@ void Fl_Wayland_Window_Driver::flush() {
if (!window || !window->configured_width) return;
Fl_X *ip = Fl_X::flx(pWindow);
- struct flCairoRegion* r = (struct flCairoRegion*)ip->region;
+ cairo_region_t* r = (cairo_region_t*)ip->region;
if (!window->buffer || pWindow->as_overlay_window()) r = NULL;
Fl_Wayland_Window_Driver::in_flush_ = true;