diff options
Diffstat (limited to 'src/Fl_Window.cxx')
| -rw-r--r-- | src/Fl_Window.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 483eea714..85075b4b3 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -437,7 +437,10 @@ int Fl_Window::decorated_h() void Fl_Window::flush() { - driver()->flush_single(); + if (!shown()) return; + make_current(); + fl_clip_region(i->region); i->region = 0; + draw(); } |
