Skip to content
Snippets Groups Projects
Commit bf5ead46 authored by rds's avatar rds
Browse files

Fixes, slow response to first click on the canvas.

Why is it that bugs like this are the smallest diffs?
parent f23a32dd
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited: Jun 10 10:49 2009 (rds)
* Last edited: Jan 24 23:17 2010 (roy)
* Created: Mon Jul 30 13:09:33 2007 (rds)
* CVS info: $Id: zmapWindowContainerContext.c,v 1.4 2009-06-10 10:05:51 rds Exp $
* CVS info: $Id: zmapWindowContainerContext.c,v 1.5 2010-01-24 10:26:03 rds Exp $
*-------------------------------------------------------------------
*/
#include <zmapWindowCanvas.h>
......@@ -356,6 +356,9 @@ static void reposition_update(FooCanvasItemClass *item_class,
if(container->flags.need_reposition == TRUE)
flags |= FOO_CANVAS_UPDATE_DEEP | ZMAP_CANVAS_UPDATE_NEED_REPOSITION;
if(flags & FOO_CANVAS_UPDATE_DEEP)
flags |= ZMAP_CANVAS_UPDATE_NEED_REPOSITION;
if(item_class->update)
(item_class->update)(item, i2w_dx, i2w_dy, flags);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment