summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
commit20c50312fcd807fdee6c907a9a8af250f79d02b0 (patch)
treeee40c1cbe658097c7a33c9a8323b60907d03b520 /FL
parentc02fba6bb9af3254bc617eb090bce7820f58614a (diff)
Cleaner declaration of public function fl_wl_cairo().
Diffstat (limited to 'FL')
-rw-r--r--FL/wayland.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/wayland.H b/FL/wayland.H
index 9918e1f7b..bd5f8a812 100644
--- a/FL/wayland.H
+++ b/FL/wayland.H
@@ -26,7 +26,8 @@ struct flCairoRegion {
}; // a region is the union of a series of rectangles
#include <stdint.h>
+typedef struct _cairo cairo_t;
FL_EXPORT struct wl_display *fl_wl_display();
FL_EXPORT struct wl_surface *fl_wl_surface(Window xid);
-FL_EXPORT struct _cairo *fl_wl_cairo();
+FL_EXPORT cairo_t *fl_wl_cairo();