summaryrefslogtreecommitdiff
path: root/FL/platform.H
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 15:21:34 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 15:21:34 +0500
commitdb214d1145e46d527a46d1fc2519548d2c4d23f1 (patch)
treecf0fd9922e4d54f6beb63888f9b28c8e2a787bdf /FL/platform.H
parent75fc94d6c71fe686f6dde5b41ad91cba2f6bdd6f (diff)
wip: fork
Diffstat (limited to 'FL/platform.H')
-rw-r--r--FL/platform.H12
1 files changed, 1 insertions, 11 deletions
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 <FL/fl_types.h> // 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; }