Browse Source

Fl_Double_Window: Don't completely defeat the purpose of Fl_Overlay_Window

... by forcing a complete redraw of the underlay every time the overlay is updated.
tags/v1.3.1000
Jonathan Moore Liles 13 years ago
parent
commit
94d392ca17
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Fl_Double_Window.cxx

+ 1
- 1
src/Fl_Double_Window.cxx View File

@@ -356,7 +356,7 @@ void Fl_Double_Window::flush(int eraseoverlay) {
}
#if USE_XDBE
if (use_xdbe) {
if (myi->backbuffer_bad || eraseoverlay) {
if (myi->backbuffer_bad) {
// Make sure we do a complete redraw...
if (myi->region) {XDestroyRegion(myi->region); myi->region = 0;}
clear_damage(FL_DAMAGE_ALL);


Loading…
Cancel
Save