From c0f14ca2f00b1ea026298b0efa91c8b6afb13244 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 18 Apr 2016 17:02:44 +0000 Subject: 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 --- src/Fl_Window_Driver.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Fl_Window_Driver.cxx') 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; } -- cgit v1.2.3