summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-24 06:30:33 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-24 06:30:33 +0100
commit70f61a63f4cc6ff53d8d6e7c60dd21ff71b9414e (patch)
tree394d4996d9f6951848b8e0218346b4f3214c49af /documentation
parent194164054b5a2de2da7ce8696910586c66d2f3a8 (diff)
parent29c6d6c679d873988581e878f395399a6c4bb369 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'documentation')
-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 *)