changeset 20095:76b1168342c0

Redraw FLTK figure after zoom operations on linked axes (bug #44719). * __init_fltk__.cc (__fltk_check__): Check status of Vdrawnow_requested and update figure if needed.
author Rik <rik@octave.org>
date Thu, 09 Apr 2015 15:56:30 -0700
parents 93348b632f32
children 402e6678673b
files libinterp/dldfcn/__init_fltk__.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc	Thu Apr 09 15:52:00 2015 -0700
+++ b/libinterp/dldfcn/__init_fltk__.cc	Thu Apr 09 15:56:30 2015 -0700
@@ -2329,6 +2329,9 @@
 {
 #ifdef HAVE_FLTK
   Fl::check ();
+
+  if (Vdrawnow_requested)
+    Fdrawnow ();
 #else
   error ("__fltk_check__: not available without OpenGL and FLTK libraries");
 #endif