summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/x11.H7
-rw-r--r--documentation/src/osissues.dox2
2 files changed, 5 insertions, 4 deletions
diff --git a/FL/x11.H b/FL/x11.H
index 2c98bc39f..a79cf38f8 100644
--- a/FL/x11.H
+++ b/FL/x11.H
@@ -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()