From 94d392ca1789847094d61885e646540846a69c53 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 5 Mar 2012 16:47:14 -0800 Subject: [PATCH] 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. --- src/Fl_Double_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 927eccb..2f0a31e 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -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);