From db214d1145e46d527a46d1fc2519548d2c4d23f1 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Thu, 5 Feb 2026 15:21:34 +0500 Subject: wip: fork --- FL/platform.H | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'FL/platform.H') diff --git a/FL/platform.H b/FL/platform.H index 715a10c64..3e19cb64a 100644 --- a/FL/platform.H +++ b/FL/platform.H @@ -33,15 +33,7 @@ # include // for uchar class Fl_Window; -# ifdef _WIN32 -# include "win32.H" -# elif defined(FLTK_USE_WAYLAND) -# include "wayland.H" -# elif defined(FLTK_USE_X11) -# include "x11.H" -# elif defined(__APPLE__) -# include "mac.H" -# endif // _WIN32 +# include "x11.H" // // cross-platform declarations @@ -58,11 +50,9 @@ public: // static variables, static functions and member functions static Fl_X* first; static Fl_X* flx(const Fl_Window* w) {return w ? (Fl_X*)w->flx_ : 0;} -# if defined(FLTK_USE_X11) && FLTK_USE_X11 // for backward compatibility static void make_xid(Fl_Window*, XVisualInfo* =fl_visual, Colormap=fl_colormap); static Fl_X* set_xid(Fl_Window*, Window); static inline Fl_X* i(const Fl_Window* w) {return flx(w);} -# endif }; inline Window fl_xid(const Fl_Window* w) { Fl_X *xTemp = Fl_X::flx(w); return xTemp ? (Window)xTemp->xid : 0; } -- cgit v1.2.3