Browse Source

Fl_Double_Window: Clear clipping region when backbuffer is invalidated.

tags/v1.3.1000
Jonathan Moore Liles 11 years ago
parent
commit
da0678617b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Fl_Double_Window.cxx

+ 2
- 0
src/Fl_Double_Window.cxx View File

@@ -328,6 +328,8 @@ void Fl_Double_Window::flush(int eraseoverlay) {
cairo_surface_t *cs = Fl::cairo_create_surface( myi->other_xid, w(), h() );
myi->other_cc = cairo_create( cs );
cairo_surface_destroy( cs );

if ( myi->region ) { cairo_region_destroy( myi->region ); myi->region = 0; }
}
fl_clip_region(myi->region);


Loading…
Cancel
Save