Rework the emission of LEAVE/ENTER event pairs

The LEAVE/ENTER event pairs should be queued during the InputDevice
update process, when we change the actor under the device pointer.

This commit cleans up the event emission code inside clutter-main.c
and the logic of the event processing.
This commit is contained in:
Emmanuele Bassi
2009-11-24 16:33:03 +00:00
parent 75f05646fa
commit 687c70dffa
4 changed files with 105 additions and 174 deletions

View File

@ -92,9 +92,7 @@ struct _ClutterInputDevice
ClutterInputDeviceType device_type;
ClutterActor *cursor_actor;
ClutterActor *pointer_grab_actor;
ClutterActor *motion_last_actor;
gint click_count;