Skip to content

clutter: Add source field to crossing events

Jonas Dreßler requested to merge verdre/mutter:crossing-event-get-source into main

The source field was removed from ClutterEvent with commit b644ea1b because the preferred way of getting the event actor is now to use the device/sequence actor from the stage directly.

With crossing events it's not that easy though, as crossing events explicitly have a source and related actor that doesn't have to be the same actor as the device actor. Since we kept around the "related" field there anyway, let's also introduce a "source" field in ClutterCrossingEvent and return that actor when get_source() is called on a crossing event.

Merge request reports