summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
committerManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
commitf9fa74e3af0b53102ade659a7a2aa12ddf9ee9a3 (patch)
tree01b108a2daa98f5caa6dc3aa15c9067b95ae76fd /src/Fl_x.cxx
parent1c7daeca631f6bbf88b99f9ecd79a5cedd64f550 (diff)
Restored the possibility to call Fl::set_font()
in a global initializer (before main() starts). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index c84be4c15..9dee09514 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -72,9 +72,6 @@ static bool have_xfixes = false;
# if HAVE_XRENDER
# include <X11/extensions/Xrender.h>
# endif
-static Fl_Xlib_Graphics_Driver fl_xlib_driver;
-static Fl_Display_Device fl_xlib_display(&fl_xlib_driver);
-Fl_Display_Device *Fl_Display_Device::_display = &fl_xlib_display;// the platform display
////////////////////////////////////////////////////////////////
// interface to poll/select call: