diff options
| -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; |
