diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-10-08 17:59:06 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-05 19:47:37 +0100 |
| commit | 4b945a3086011b6a59b5aef434cdbe8cda96c2de (patch) | |
| tree | 333de7fbb01ae280eb95728ad26ff1f366963054 /src/Fl_Widget.cxx | |
| parent | b426a3d7c07c9ffd53141ebd03dcd5e82ff4e52a (diff) | |
Wayland/X11 hybrid: use "bool fl_disable_wayland;" declaration.
Diffstat (limited to 'src/Fl_Widget.cxx')
| -rw-r--r-- | src/Fl_Widget.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx index 185e99b58..2289dcf0b 100644 --- a/src/Fl_Widget.cxx +++ b/src/Fl_Widget.cxx @@ -1,7 +1,7 @@ // // Base widget class for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2017 by Bill Spitzak and others. +// Copyright 1998-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -131,10 +131,6 @@ Fl_Widget::Fl_Widget(int X, int Y, int W, int H, const char* L) { parent_ = 0; if (Fl_Group::current()) Fl_Group::current()->add(this); - if (!fl_graphics_driver) { - // Make sure fl_graphics_driver is initialized. Important if we are called by a static initializer. - Fl_Display_Device::display_device(); - } } void Fl_Widget::resize(int X, int Y, int W, int H) { |
