>From what I can tell, the xcairo driver does not currently check the
user-defined interactive plot pause at the end of a plot page.  The
attached patch should add this support so that an xcairo plot will not
wait for the user to press Enter before proceeding if plspause is
given a false value.

It works cleanly here on the latest PLplot SVN revision..

Hez

-- 
Hezekiah M. Carty
Graduate Research Assistant
University of Maryland
Department of Atmospheric and Oceanic Science
diff --git a/drivers/cairo.c b/drivers/cairo.c
index cd6d52a..f78dd58 100644
--- a/drivers/cairo.c
+++ b/drivers/cairo.c
@@ -1281,6 +1281,10 @@ void plD_eop_xcairo(PLStream *pls)
 
   XFlush(aStream->XDisplay);
 
+  /* Only pause if nopause is unset. */
+  if (pls->nopause)
+    aStream->exit_event_loop = 1;
+
   /* Loop, handling selected events, till the user elects to close the plot. */
   event_mask = ButtonPressMask | KeyPressMask | ExposureMask;
   XSelectInput(aStream->XDisplay, aStream->XWindow, event_mask);
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to