summaryrefslogtreecommitdiff
path: root/documentation/src/osissues.dox
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-23 11:37:15 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-23 11:37:25 +0100
commit2d71a95b5d3b6eddb6d193a0d22a618938798c4f (patch)
tree7754a8e1a4a93bd582ddda080758a1b0bd2d0432 /documentation/src/osissues.dox
parent4c854dbbc3f9be1831105943cb87f94bceb32cc2 (diff)
Wayland: replace global fl_display by function struct wl_display *fl_wl_display().
Diffstat (limited to 'documentation/src/osissues.dox')
-rw-r--r--documentation/src/osissues.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox
index 4caccda11..984ecb171 100644
--- a/documentation/src/osissues.dox
+++ b/documentation/src/osissues.dox
@@ -943,11 +943,11 @@ from X11-specific source code :
#endif
\endcode
-extern struct wl_display *fl_display;
+extern struct wl_display *fl_wl_display();
\par
-After fl_open_display() has run, the \c fl_display global variable points to the
+After fl_open_display() has run, function \c fl_wl_display() returns a pointer to the
struct wl_display representing the connection between the application and Wayland.
-Therefore, \c wl_display_get_fd(fl_display) gives the file descriptor one can
+For example, \c wl_display_get_fd(fl_wl_display()) gives the file descriptor one can
use to communicate with the Wayland compositor according to the Wayland protocol.
Window fl_xid(const Fl_Window *)