summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-30 17:37:55 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-30 17:37:55 +0200
commit07fd2628febb512192239cc252087deb62da4866 (patch)
tree895f2bd612078f0babcf2b5a09228806b92e6fb9 /src/Fl.cxx
parentfcdc2f0e102497313232cc7c0a570cc4c524a02b (diff)
Hybrid Wayland/X11 platform: improve control of chosen backend.
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 3ba27a703..b7fe35157 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -2016,8 +2016,8 @@ void fl_close_display()
}
/** Prevent the FLTK library from using its wayland backend.
- Call this early in your main(), before fl_open_display() runs.
- This has no effect on non-Wayland platforms.
+ Call this early in your main(), before fl_open_display() runs, or any window is created, or the screen is accessed.
+ This function has no effect on non-Wayland platforms.
*/
void fl_disable_wayland()
{