Add needed variable for Wayland-only platform.

This commit is contained in:
ManoloFLTK
2022-09-11 09:52:02 +02:00
parent 2ea85ea6d7
commit ef243d6c86
@@ -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;