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:
@ -92,9 +92,7 @@ struct _ClutterInputDevice
|
||||
ClutterInputDeviceType device_type;
|
||||
|
||||
ClutterActor *cursor_actor;
|
||||
|
||||
ClutterActor *pointer_grab_actor;
|
||||
ClutterActor *motion_last_actor;
|
||||
|
||||
gint click_count;
|
||||
|
||||
|
Reference in New Issue
Block a user