summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 98882591e..483eea714 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -471,6 +471,9 @@ void Fl_Window::draw()
draw_children();
pWindowDriver->draw_end();
+# if defined(FLTK_USE_CAIRO)
+ Fl::cairo_make_current(this); // checkout if an update is necessary
+# endif
}