summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-10-20 06:06:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-10-20 06:06:31 +0000
commit82eeab48e656738525656ec6d24222dea150fd90 (patch)
treee9fc4bdccb26d6854390c0110ca32f04a078dab6 /src
parent8276f8b3079d1fb772e6120bc36c6bb39b28fd67 (diff)
Initialize backbuffer_bad under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_x.cxx5
1 files changed, 3 insertions, 2 deletions
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 $".
//