summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/x.H b/FL/x.H
index 4e53adaa3..46d276952 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -25,6 +25,7 @@
# define Fl_X_H
# include "Enumerations.H"
+# include <FL/Fl_Device.H>
# ifdef WIN32
# include "win32.H"
@@ -132,7 +133,7 @@ extern FL_EXPORT XFontStruct* fl_X_core_font();
// this object contains all X-specific stuff about a window:
// Warning: this object is highly subject to change!
// FL_LIBRARY or FL_INTERNALS must be defined to access this class.
-class FL_EXPORT Fl_X {
+class FL_EXPORT Fl_X : public Fl_Device {
public:
Window xid;
Window other_xid;