diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-04-10 15:09:25 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-04-10 15:09:25 +0200 |
| commit | 0d59e32b848953be121a86ccd068847dfa28d8fc (patch) | |
| tree | a1932aa398c87cb48e801ecf9f7c7f21cc6bc31b | |
| parent | 9e147fe8c0eb94d3781300a2f52bc1855f7f98e2 (diff) | |
Fix for issue #426 - cont'd.
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index e3cd499c1..2ad838785 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3500,6 +3500,10 @@ void Fl_Cocoa_Window_Driver::make_current() // this is the context with origin at top left of (sub)window CGContextSaveGState(gc); fl_clip_region( 0 ); +#ifdef FLTK_HAVE_CAIROEXT + // update the cairo_t context + if (Fl::cairo_autolink_context()) Fl::cairo_make_current(pWindow); +#endif } // Give the Quartz context back to the system |
