summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-07 21:45:55 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-07 21:45:55 +0000
commitc26880e2d2cb9ca5c5da060eedfee380692b74f0 (patch)
treedd2f07bd59c824934bfbca3462760e4160f8aca8 /src/Fl_x.cxx
parent12eef8e64d2518c140770529ce6e03f046b33ecf (diff)
Fixes for X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 36c5cf9e1..26cec974b 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -2292,7 +2292,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_Window_Driver *xp = Fl_Window_Driver::newWindowDriver(win);
+ Fl_X *xp = new Fl_X;
xp->xid = winxid;
xp->other_xid = 0;
xp->setwindow(win);