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. --- FL/Fl.H | 2 ++ FL/platform.H | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 4cee6c7a4..b0f8e6007 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -61,6 +61,8 @@ extern FL_EXPORT const char* fl_local_ctrl; ///< string pointer used in shortcu extern FL_EXPORT const char* fl_local_meta; ///< string pointer used in shortcuts, you can change it to another language extern FL_EXPORT const char* fl_local_shift; ///< string pointer used in shortcuts, you can change it to another language +extern FL_EXPORT void fl_disable_wayland(); + /** \defgroup callback_functions Callback Function Typedefs \brief Typedefs defined in for callback or handler functions passed as function parameters. diff --git a/FL/platform.H b/FL/platform.H index 81d5a737a..834a32392 100644 --- a/FL/platform.H +++ b/FL/platform.H @@ -76,6 +76,5 @@ 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 -- cgit v1.2.3