diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:21:02 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-19 22:21:02 +0000 |
| commit | 052401a34e8347c87a418270986432032ac693e2 (patch) | |
| tree | 311f997a157e25f132a51fed20438f6f3a92c284 /src/Fl_x.cxx | |
| parent | a072a412a1370d3c5570150f0c4a381909b623ec (diff) | |
Instantiate the right Fl_Window_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 23b75c44a..bffb343d1 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2285,7 +2285,7 @@ void Fl_Window::fullscreen_off_x(int X, int Y, int W, int H) { void fl_fix_focus(); // in Fl.cxx Fl_X* Fl_X::set_xid(Fl_Window* win, Window winxid) { - Fl_X* xp = new Fl_X; + Fl_Window_Driver *x = Fl_Window_Driver::newWindowDriver(win); xp->xid = winxid; xp->other_xid = 0; xp->setwindow(win); |
