From 2d71a95b5d3b6eddb6d193a0d22a618938798c4f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:37:15 +0100 Subject: Wayland: replace global fl_display by function struct wl_display *fl_wl_display(). --- FL/wayland.H | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'FL') diff --git a/FL/wayland.H b/FL/wayland.H index 626ac9e02..53145f816 100755 --- a/FL/wayland.H +++ b/FL/wayland.H @@ -20,8 +20,6 @@ typedef struct wld_window *Window; -extern struct wl_display *fl_display; - struct flWaylandRegion { int count; struct _cairo_rectangle *rects; @@ -30,5 +28,6 @@ struct flWaylandRegion { #include extern FL_EXPORT uint32_t fl_event_time; -extern FL_EXPORT struct wl_surface *fl_wl_surface(Window xid); -extern FL_EXPORT struct _cairo *fl_wl_cairo(); +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(); -- cgit v1.2.3