|
From: <and...@us...> - 2009-05-09 10:06:03
|
Revision: 9946
http://plplot.svn.sourceforge.net/plplot/?rev=9946&view=rev
Author: andrewross
Date: 2009-05-09 10:05:54 +0000 (Sat, 09 May 2009)
Log Message:
-----------
ANR for HMC - patch to ensure that xcairo honours calls to plspause to disable the end of page pause.
Modified Paths:
--------------
trunk/drivers/cairo.c
Modified: trunk/drivers/cairo.c
===================================================================
--- trunk/drivers/cairo.c 2009-05-08 20:47:07 UTC (rev 9945)
+++ trunk/drivers/cairo.c 2009-05-09 10:05:54 UTC (rev 9946)
@@ -1260,6 +1260,10 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|