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_Double_Window.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 00aca01ee..825c78720 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -56,14 +56,14 @@ void Fl_Double_Window::resize(int X,int Y,int W,int H) { int oh = h(); Fl_Window::resize(X,Y,W,H); Fl_X *myi = Fl_X::i(this); - if (myi && myi->other_xid && (ow < w() || oh < h())) + if (myi && driver()->other_xid && (ow < w() || oh < h())) driver()->destroy_double_buffer(); } void Fl_Double_Window::hide() { Fl_X *myi = Fl_X::i(this); - if (myi && myi->other_xid) { + if (myi && driver()->other_xid) { driver()->destroy_double_buffer(); } Fl_Window::hide(); -- cgit v1.2.3