|
From: <hba...@us...> - 2010-03-21 19:41:42
|
Revision: 10877
http://plplot.svn.sourceforge.net/plplot/?rev=10877&view=rev
Author: hbabcock
Date: 2010-03-21 19:41:36 +0000 (Sun, 21 Mar 2010)
Log Message:
-----------
Call blit_to_x in PLESC_GETC so that the plot is displayed for the user to click on.
Modified Paths:
--------------
trunk/drivers/cairo.c
Modified: trunk/drivers/cairo.c
===================================================================
--- trunk/drivers/cairo.c 2010-03-21 19:10:20 UTC (rev 10876)
+++ trunk/drivers/cairo.c 2010-03-21 19:41:36 UTC (rev 10877)
@@ -1852,6 +1852,9 @@
XFlush( aStream->XDisplay );
break;
case PLESC_GETC: /* get cursor position */
+ blit_to_x( aStream, aStream->dirty_x1, aStream->dirty_y1,
+ aStream->dirty_x2 - aStream->dirty_x1,
+ aStream->dirty_y2 - aStream->dirty_y1 );
XFlush( aStream->XDisplay );
xcairo_get_cursor( pls, (PLGraphicsIn*) ptr );
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|