From: <hez...@us...> - 2009-05-21 19:56:04
|
Revision: 9981 http://plplot.svn.sourceforge.net/plplot/?rev=9981&view=rev Author: hezekiahcarty Date: 2009-05-16 22:10:07 +0000 (Sat, 16 May 2009) Log Message: ----------- The xcairo drive now allows the user to right-click in the plot window to move to the next plot page. Modified Paths: -------------- trunk/drivers/cairo.c Modified: trunk/drivers/cairo.c =================================================================== --- trunk/drivers/cairo.c 2009-05-15 17:34:38 UTC (rev 9980) +++ trunk/drivers/cairo.c 2009-05-16 22:10:07 UTC (rev 9981) @@ -1277,6 +1277,10 @@ aStream->exit_event_loop = 1; } break; + case ButtonPress: + if (((XButtonEvent *)&event)->button == Button3) + aStream->exit_event_loop = 1; + break; case Expose: plD_bop_cairo(pls); plRemakePlot(pls); |