summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-30 12:58:57 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-30 12:58:57 +0200
commitfcdc2f0e102497313232cc7c0a570cc4c524a02b (patch)
tree1ffc8c6fcbe0a2de801a055d2dce46d60f320dac /FL
parent84af9661098286335e7c1d1d9ec6d407e05b1d21 (diff)
Attempt to improve fl_disable_wayland().
Diffstat (limited to 'FL')
-rw-r--r--FL/platform.H1
-rw-r--r--FL/wayland.H4
2 files changed, 1 insertions, 4 deletions
diff --git a/FL/platform.H b/FL/platform.H
index 834a32392..81d5a737a 100644
--- a/FL/platform.H
+++ b/FL/platform.H
@@ -76,5 +76,6 @@ extern FL_EXPORT void fl_close_display();
extern FL_EXPORT Window fl_window;
extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b);
extern FL_EXPORT void fl_open_callback(void (*)(const char *));
+extern FL_EXPORT void fl_disable_wayland();
#endif // !FL_PLATFORM_H
diff --git a/FL/wayland.H b/FL/wayland.H
index 66b633182..2f88ce2e9 100644
--- a/FL/wayland.H
+++ b/FL/wayland.H
@@ -39,10 +39,6 @@ extern FL_EXPORT cairo_t *fl_wl_cairo();
typedef void *EGLContext;
/** Returns the EGLContext corresponding to the given GLContext */
extern FL_EXPORT EGLContext fl_wl_glcontext(GLContext rc);
-/** Prevent the FLTK library from using its wayland backend.
- Call this early in your main(), before fl_open_display() runs. */
-extern FL_EXPORT void fl_disable_wayland();
-
#ifndef FL_DOXYGEN