* clutter/clutter-main.c: (clutter_do_event): allow motion events
only delivered to stage to be chaugt in the capture phase as well as the bubbling phase.
This commit is contained in:
parent
143a5937e2
commit
a7fb3a78d2
@ -1,3 +1,9 @@
|
|||||||
|
2007-10-15 Øyvind Kolås <pippin@o-hand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-main.c: (clutter_do_event): allow motion events
|
||||||
|
only delivered to stage to be chaugt in the capture phase as well
|
||||||
|
as the bubbling phase.
|
||||||
|
|
||||||
2007-10-16 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-10-16 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/json/json-object.c: Automatically transform every
|
* clutter/json/json-object.c: Automatically transform every
|
||||||
|
@ -1256,7 +1256,14 @@ clutter_do_event (ClutterEvent *event)
|
|||||||
{
|
{
|
||||||
/* Only stage gets motion events */
|
/* Only stage gets motion events */
|
||||||
event->motion.source = stage;
|
event->motion.source = stage;
|
||||||
clutter_actor_event (stage, event, FALSE);
|
|
||||||
|
/* Trigger handlers in both capture .. */
|
||||||
|
if (!clutter_actor_event (stage, event, TRUE))
|
||||||
|
{
|
||||||
|
/* and/or bubbling phase */
|
||||||
|
clutter_actor_event (stage, event, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CLUTTER_BUTTON_PRESS:
|
case CLUTTER_BUTTON_PRESS:
|
||||||
|
Loading…
Reference in New Issue
Block a user