diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-20 06:06:31 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-20 06:06:31 +0000 |
| commit | 82eeab48e656738525656ec6d24222dea150fd90 (patch) | |
| tree | e9fc4bdccb26d6854390c0110ca32f04a078dab6 | |
| parent | 8276f8b3079d1fb772e6120bc36c6bb39b28fd67 (diff) | |
Initialize backbuffer_bad under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | documentation/widgets.html | 2 | ||||
| -rw-r--r-- | src/Fl_x.cxx | 5 |
3 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.1 + - Fl_X::set_xid() didn't initialize the backbuffer_bad + element that was used with XDBE. - Fl_Shared_Image::uncache() was not implemented. - Fl::set_font() didn't 0-initialize all font descriptor data. diff --git a/documentation/widgets.html b/documentation/widgets.html index 07b4e4553..d0c1967e4 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -52,8 +52,8 @@ description of the <TT>fl_</TT> functions, see <A HREF="Fl_Menu_Button.html">Fl_Menu_Button</A><BR> <A HREF="Fl_Menu_.html">Fl_Menu_</A><BR> <A HREF="Fl_Menu_Item.html">Fl_Menu_Item</A><BR> -</TD><TD> <A HREF="Fl_Menu_Window.html">Fl_Menu_Window</A><BR> +</TD><TD> <A HREF="Fl_Multi_Browser.html">Fl_Multi_Browser</A><BR> <A HREF="Fl_Multiline_Input.html">Fl_Multiline_Input</A><BR> <A HREF="Fl_Multiline_Output.html">Fl_Multiline_Output</A><BR> 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 $". // |
