summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-09 15:19:15 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-09 15:19:15 +0200
commit203e7b70985b269de64a5b855c0ed9f1c5dfffd9 (patch)
tree233666e3e01800de81b824a2cd09f6399d15ade4 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
parent1b0f21cc8fec9a933770a2ed6d7feafe91ee8333 (diff)
New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
index f0f01ca1f..28e5f3655 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
@@ -174,7 +174,9 @@ public:
static compositor_name compositor; // identifies the used Wayland compositor
void set_spot(int font, int height, int x, int y, int w, int h, Fl_Window *win);
void reset_spot();
+#if FLTK_USE_X11
static bool undo_wayland_backend_if_needed(const char *backend = NULL);
+#endif
};