diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-23 11:37:15 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-23 11:37:25 +0100 |
| commit | 2d71a95b5d3b6eddb6d193a0d22a618938798c4f (patch) | |
| tree | 7754a8e1a4a93bd582ddda080758a1b0bd2d0432 /FL | |
| parent | 4c854dbbc3f9be1831105943cb87f94bceb32cc2 (diff) | |
Wayland: replace global fl_display by function struct wl_display *fl_wl_display().
Diffstat (limited to 'FL')
| -rwxr-xr-x | FL/wayland.H | 7 |
1 files changed, 3 insertions, 4 deletions
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 <stdint.h> 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(); |
