mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-12-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c: (unset_motion_last_actor), (generate_enter_leave_events): Attach a callback to the destroy signal on the last motion actor, so if it goes away while the pointer is in the middle of it we can unset the pointer. * clutter/clutter-private.h: Store the last motion actor inside the global context.
This commit is contained in:
@ -94,6 +94,8 @@ struct _ClutterMainContext
|
||||
(or NULL if there is no pointer grab)
|
||||
*/
|
||||
GSList *shaders; /* stack of overridden shaders */
|
||||
|
||||
ClutterActor *motion_last_actor;
|
||||
};
|
||||
|
||||
#define CLUTTER_CONTEXT() (clutter_context_get_default ())
|
||||
|
Reference in New Issue
Block a user