summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Widget_Surface.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Widget_Surface.cxx b/src/Fl_Widget_Surface.cxx
index 2a80b12d4..c7bcd93b1 100644
--- a/src/Fl_Widget_Surface.cxx
+++ b/src/Fl_Widget_Surface.cxx
@@ -77,6 +77,8 @@ void Fl_Widget_Surface::draw(Fl_Widget* widget, int delta_x, int delta_y)
}
if (!drawn_by_plugin) {
widget->draw();
+ Fl_Overlay_Window *over = (is_window ? widget->as_window()->as_overlay_window() : NULL);
+ if (over) over->draw_overlay();
}
if (is_window && !widget->window()) fl_pop_clip();
// find subwindows of widget and print them