diff options
| author | Manolo Gouy <Manolo> | 2016-04-18 17:02:44 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-18 17:02:44 +0000 |
| commit | c0f14ca2f00b1ea026298b0efa91c8b6afb13244 (patch) | |
| tree | 93fefd3de4cc8c73d56e18f2052ded34566dc1c9 /src/Fl_Window_Driver.cxx | |
| parent | e790ac96536503c2f89a894f6bda1d5a21fab05d (diff) | |
Move other_xid member variable from class Fl_X to class F_Window_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window_Driver.cxx')
| -rw-r--r-- | src/Fl_Window_Driver.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index 13a90f8f0..0399f7fff 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -104,9 +104,8 @@ void Fl_Window_Driver::draw_end() void Fl_Window_Driver::destroy_double_buffer() { - Fl_X *i = Fl_X::i(pWindow); - fl_delete_offscreen(i->other_xid); - i->other_xid = 0; + fl_delete_offscreen(other_xid); + other_xid = 0; } |
