summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index c345c9f85..51d1efaaa 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2944,7 +2944,7 @@ void Fl_X::make(Fl_Window* w)
}
Fl_X *x = new Fl_X;
- x->other_xid = 0; // room for doublebuffering image map. On OS X this is only used by overlay windows
+ w->driver()->other_xid = 0; // room for doublebuffering image map. On OS X this is only used by overlay windows
x->region = 0;
x->subRect(0);
((Fl_Cocoa_Window_Driver*)w->pWindowDriver)->gc = 0;