mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
Robert Bragg
0e99fa7a1e
material: pass material owner for layer pre changes
When notifying a backend about a layer being modified we now pass the layers current owner for reference. NB: Although a layer can indirectly be referenced by multiple layers, a layer is considered immutable once it has dependants, so there is only ever one material associated with a layer being modified. Passing the material pointer to the backends layer_pre_change callback can be useful for backends that associate their private state with materials and may need to update that state in response to layer changes.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%