GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit ec365ef4 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

disable events that could cause cursor changes or allow dragging while a

2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_point) : disable events that could
	  cause cursor changes or allow dragging while a guru is up.
parent 977b6d99
2001-10-03 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_point) : disable events that could
cause cursor changes or allow dragging while a guru is up.
2001-10-03 Jakub Steiner <jimmac@ximian.com>
* gnome-gnumeric.png: now it scales down better AND looks nice ;)
......
2001-10-03 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_point) : disable events that could
cause cursor changes or allow dragging while a guru is up.
2001-10-03 Jakub Steiner <jimmac@ximian.com>
* gnome-gnumeric.png: now it scales down better AND looks nice ;)
......
2001-10-03 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_point) : disable events that could
cause cursor changes or allow dragging while a guru is up.
2001-10-03 Jakub Steiner <jimmac@ximian.com>
* gnome-gnumeric.png: now it scales down better AND looks nice ;)
......
2001-10-03 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_point) : disable events that could
cause cursor changes or allow dragging while a guru is up.
2001-10-03 Jakub Steiner <jimmac@ximian.com>
* gnome-gnumeric.png: now it scales down better AND looks nice ;)
......
......@@ -531,8 +531,13 @@ item_cursor_point (GnomeCanvasItem *item, double x, double y, int cx, int cy,
{
ItemCursor const *ic = ITEM_CURSOR (item);
/* Ensure that animated cursors do not receive events */
if (!ic->visible || ic->style == ITEM_CURSOR_ANTED)
/* Cursor should not always receive events
* 1) when invisible
* 2) when animated
* 3) while a guru is up
*/
if (!ic->visible || ic->style == ITEM_CURSOR_ANTED ||
wbcg_edit_has_guru (ic->scg->wbcg))
return DBL_MAX;
*actual_item = NULL;
......
Markdown is supported
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