summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-11 09:52:02 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-11 09:52:02 +0200
commitef243d6c865ba366f5d870ad48617ddd9b2a56e9 (patch)
treebef6f46c68b11dedfd3ecdd74134fb3af6afdddf /src/drivers/Wayland
parent2ea85ea6d7a9d377abcc01f4755d146dcbe30d60 (diff)
Add needed variable for Wayland-only platform.
Diffstat (limited to 'src/drivers/Wayland')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 928c5bb30..e35cfddcb 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -50,6 +50,10 @@ extern "C" {
#define fl_max(a,b) ((a) > (b) ? (a) : (b))
#define fl_min(a,b) ((a) < (b) ? (a) : (b))
+#if !FLTK_USE_X11
+Window fl_window = 0; // temporary, until we get rid of this global for wayland
+#endif
+
struct wld_window *Fl_Wayland_Window_Driver::wld_window = NULL;