Driver-based Fl_Double_Window implementation - continued.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-03-06 22:33:41 +00:00
parent 5ca73da7b3
commit b33c9cffd1

View File

@ -37,7 +37,7 @@ public:
Fl_Window_Driver *Fl_Window_Driver::newWindowDriver(Fl_Window *w)
{
#if USE_XDBE
if (can_xdbe()) // strictly necessary only for Fl_Double_Window, but does no harm for Fl_Window
if (w->as_double_window() && can_xdbe())
return new Fl_X11_Dbe_Window_Driver(w);
else
#endif