diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-11 09:52:02 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-11 09:52:02 +0200 |
| commit | ef243d6c865ba366f5d870ad48617ddd9b2a56e9 (patch) | |
| tree | bef6f46c68b11dedfd3ecdd74134fb3af6afdddf /src/drivers/Wayland | |
| parent | 2ea85ea6d7a9d377abcc01f4755d146dcbe30d60 (diff) | |
Add needed variable for Wayland-only platform.
Diffstat (limited to 'src/drivers/Wayland')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 4 |
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; |
