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

@ -75,7 +75,7 @@ clutter_device_manager_class_init (ClutterDeviceManagerClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
clutter_marshal_VOID__POINTER,
clutter_marshal_VOID__OBJECT,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
@ -85,7 +85,7 @@ clutter_device_manager_class_init (ClutterDeviceManagerClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
clutter_marshal_VOID__POINTER,
clutter_marshal_VOID__OBJECT,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
}