summaryrefslogtreecommitdiff
path: root/FL/platform.H
diff options
context:
space:
mode:
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; }