drag-action: Capture ENTER when dragging

This completes commit 9ab83cebf.
This commit is contained in:
Emmanuele Bassi 2010-08-12 08:53:06 +01:00
parent ed39948ccf
commit 9b736cfeba

View File

@ -267,6 +267,7 @@ on_captured_event (ClutterActor *stage,
emit_drag_end (action, actor, event); emit_drag_end (action, actor, event);
break; break;
case CLUTTER_ENTER:
case CLUTTER_LEAVE: case CLUTTER_LEAVE:
if (priv->in_drag) if (priv->in_drag)
return TRUE; return TRUE;