summaryrefslogtreecommitdiff
path: root/FL/x11.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-31 10:35:50 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-31 10:36:01 +0200
commitd9a6ec88e47b9c3c7993018f4f2be13d55b8fca2 (patch)
treef0c68938623020dd949369f944b7469a9101c28e /FL/x11.H
parenta638f5a545817365897bc7892999b74d3ef83e34 (diff)
Add support of Fl_Region to the Cairo graphics driver
and remove it from the Wayland graphics driver.
Diffstat (limited to 'FL/x11.H')
-rw-r--r--FL/x11.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/x11.H b/FL/x11.H
index 6dcb972e5..116870166 100644
--- a/FL/x11.H
+++ b/FL/x11.H
@@ -86,6 +86,13 @@ extern FL_EXPORT Fl_XFont_On_Demand fl_xfont;
extern FL_EXPORT char fl_override_redirect; // hack into Fl_X::make_xid()
+#if USE_PANGO
+struct flCairoRegion {
+ int count;
+ struct _cairo_rectangle *rects;
+}; // a region is the union of a series of rectangles
+#endif
+
#endif // FL_LIBRARY || FL_INTERNALS
#endif // FL_DOXYGEN