Initialize backbuffer_bad under X11.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2002-10-20 06:06:31 +00:00
parent 8276f8b307
commit 82eeab48e6
3 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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 $".
//