diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-09 15:19:15 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-09 15:19:15 +0200 |
| commit | 203e7b70985b269de64a5b855c0ed9f1c5dfffd9 (patch) | |
| tree | 233666e3e01800de81b824a2cd09f6399d15ade4 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | |
| parent | 1b0f21cc8fec9a933770a2ed6d7feafe91ee8333 (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.H | 2 |
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 }; |
