diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-12-19 19:36:07 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-12-19 19:36:07 +0100 |
| commit | bc5d7e77aaa738963e149cf5301b579855c4201e (patch) | |
| tree | 2c9c3d284ad9f9f9372a53a7dbb4f5dd004489c8 | |
| parent | 05687d1cb41245954f6366c57acae894c6ebd87d (diff) | |
Remove typos in the documentation of fl_x11_use_display()
| -rw-r--r-- | FL/x11.H | 7 | ||||
| -rw-r--r-- | documentation/src/osissues.dox | 2 |
2 files changed, 5 insertions, 4 deletions
@@ -26,9 +26,10 @@ /** Returns the X11 Display in use */ extern Display *fl_x11_display(); -/** Have FLTK use a pre-established X11 connexion. - This function should be called before FLTK attempts to open its own X11 connexion. - \param d the X11 Display* value representing a valid, pre-established X11 connexion +/** Have FLTK use a pre-established X11 connection. + This function must be called before FLTK attempts to open its own X11 connection, + that is, as long as fl_x11_display() returns NULL. + \param d the X11 Display* value representing a valid, pre-established X11 connection */ extern void fl_x11_use_display(Display *d); /** Returns the Window reference for the given Fl_Window, or zero if not \c shown(). */ diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 1c8718c62..faf7178b7 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -270,7 +270,7 @@ This may call Fl::abort() if there is an error opening the display. void fl_x11_use_display(Display *d) \par -Directs FLTK to use a pre-established X11 connexion. +Directs FLTK to use a pre-established X11 connection. void fl_close_display() |
