drag-action: Disable picking during drag
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 22 Jun 2010 15:12:53 +0000 (16:12 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 22 Jun 2010 15:12:53 +0000 (16:12 +0100)
commit62c08b4a0995467f54d8135e7c579e2f81debb20
tree1a2ae1e962242b96d45dcb8bc65ad6c31af533a5
parentd89270d7c16aae0369ed80a8c69f2a58ebcaf7e4
drag-action: Disable picking during drag

While dragging we don't need to perform picking to determine the actor
underneath the pointer, for two reasons:

  • we use a capture on the stage to determine the motion delta.
  • we know the actor underneath the pointer because that's the
    actor we are dragging around.

This change should make dragging actors in complex scenes a bit faster.
clutter/clutter-drag-action.c