diff options
| author | Manolo Gouy <Manolo> | 2016-04-18 12:28:57 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-18 12:28:57 +0000 |
| commit | 3df26257d09f87ab5e6224f813b5d15325ce219c (patch) | |
| tree | 0f662eea9f8ed12f291ad8cf66a9df0c8420f0a0 /src/Fl_x.cxx | |
| parent | 1d279de04433b2227965f7e0dcfea21e1203b4ec (diff) | |
Move Fl_X::backbuffer_bad under USE_X11 to class Fl_X11_Wi,dow_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 99da7f755..508105658 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2220,7 +2220,9 @@ Fl_X* Fl_X::set_xid(Fl_Window* win, Window winxid) { xp->next = Fl_X::first; xp->region = 0; xp->wait_for_expose = 1; - xp->backbuffer_bad = 1; +#ifdef USE_XDBE + ((Fl_X11_Window_Driver*)win->driver())->backbuffer_bad = 1; +#endif Fl_X::first = xp; if (win->modal()) {Fl::modal_ = win; fl_fix_focus();} return xp; |
