state: Handle setting keys for the current target state
authorChris Lord <chris@linux.intel.com>
Fri, 22 Oct 2010 15:13:16 +0000 (16:13 +0100)
committerChris Lord <chris@linux.intel.com>
Mon, 25 Oct 2010 16:21:20 +0000 (17:21 +0100)
commit35c35de55c27ff212d819e202b6081859510ee3d
tree009131a43705f5f0f1cf2293f9305ccc2607df33
parent73dcbedc8067fac25e43d833036f8c76f7c01282
state: Handle setting keys for the current target state

Add special behaviour when you set the key of the current target state:
- If the state is transitioning, add/modify the interval so that the new
  key transitions from the current time (taking into account pre-delay) to
  its target final property
- If the state is set but has already finished animating/was warped to,
  set the property immediately
clutter/clutter-state.c