summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ScreenDump.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ScreenDump.cxx b/src/ScreenDump.cxx
index c1643d7..3bfd483 100644
--- a/src/ScreenDump.cxx
+++ b/src/ScreenDump.cxx
@@ -14,6 +14,7 @@ ScreenDump::ScreenDump(GipfelWidget *gipf) {
Fl::flush();
offscreen = fl_create_offscreen(w, h);
fl_begin_offscreen(offscreen);
+ gipf->redraw();
gipf->draw();
rgb = fl_read_image(NULL, 0, 0, w, h);
fl_end_offscreen();