# HG changeset patch # User Lachlan Andrew # Date 1456107482 -39600 # Node ID 4f0f9f029d127b70dd7b896031b61187d3ff3851 # Parent 7ba48ff6ce83f549fdf2293ae9d085ee5fe9f830 Draw updates to GUI at end of GUI callback function (bug #47216) * graphics.cc (do_execute_callback): Fdrawnow if Vdrawnow_requested. diff -r 7ba48ff6ce83 -r 4f0f9f029d12 libinterp/corefcn/graphics.cc --- a/libinterp/corefcn/graphics.cc Fri Feb 26 09:52:43 2016 +1100 +++ b/libinterp/corefcn/graphics.cc Mon Feb 22 13:18:02 2016 +1100 @@ -9339,6 +9339,12 @@ if (fcn) feval (fcn, args); + + if (Vdrawnow_requested) + { + Fdrawnow (); + Vdrawnow_requested = false; + } } }