From a6ac4c8bab5d3b41f382493ab0b1b89ce2d3df92 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Thu, 23 May 2013 00:04:56 -0700 Subject: [PATCH] Revert "Fl_Overlay_Window: Always redraw overlay when redrawing backbuffer." This reverts commit 5db6dfccef8b26076f2dc985ace462655c176c82. --- src/Fl_Overlay_Window.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Fl_Overlay_Window.cxx b/src/Fl_Overlay_Window.cxx index 72f2dc5..a19ea65 100644 --- a/src/Fl_Overlay_Window.cxx +++ b/src/Fl_Overlay_Window.cxx @@ -18,7 +18,7 @@ // You should have received a copy of the GNU Library General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA.x +// USA. // // Please report all bugs and problems on the following page: // @@ -52,8 +52,9 @@ void Fl_Overlay_Window::flush() { return; } #endif + int erase_overlay = (damage()&FL_DAMAGE_OVERLAY); clear_damage(damage()&~FL_DAMAGE_OVERLAY); - Fl_Double_Window::flush(1); + Fl_Double_Window::flush(erase_overlay); Fl_X* myi = Fl_X::i(this); draw_overlay(); }