From 82eeab48e656738525656ec6d24222dea150fd90 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 20 Oct 2002 06:06:31 +0000 Subject: Initialize backbuffer_bad under X11. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index e7f1e6eb3..0cc6fbbf8 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_x.cxx,v 1.24.2.24.2.23 2002/08/09 03:17:30 easysw Exp $" +// "$Id: Fl_x.cxx,v 1.24.2.24.2.24 2002/10/20 06:06:31 easysw Exp $" // // X specific code for the Fast Light Tool Kit (FLTK). // @@ -922,6 +922,7 @@ 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; Fl_X::first = xp; if (win->modal()) {Fl::modal_ = win; fl_fix_focus();} return xp; @@ -1233,5 +1234,5 @@ void Fl_Window::make_current() { #endif // -// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.23 2002/08/09 03:17:30 easysw Exp $". +// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.24 2002/10/20 06:06:31 easysw Exp $". // -- cgit v1.2.3