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_Double_Window.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_Double_Window.cxx')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |
