mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 16:36:37 +08:00
Add needed variable for Wayland-only platform.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user