From 07fd2628febb512192239cc252087deb62da4866 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 30 Aug 2022 17:37:55 +0200 Subject: Hybrid Wayland/X11 platform: improve control of chosen backend. --- src/Fl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl.cxx') 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() { -- cgit v1.2.3