mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
25f36b3892
ClutterImage is a ClutterContent implementation that has an internally managed CoglTexture. This texture is recreated when new image data is set. ClutterContent implementations may have control over the allocation of the widgets they're attached to, through CLUTTER_REQUEST_CONTENT_SIZE. On those cases, if the new image data differs in size from the previous data, it is important to notify those actors about the size change. However, currently ClutterImage does not notify them. With the introduction of clutter_content_invalidate_size(), it is possible to report the size changes to attached actors. Adapt ClutterImage to invalidate_size() when image data has different sizes. https://gitlab.gnome.org/GNOME/mutter/merge_requests/405 |
||
---|---|---|
.. | ||
clutter | ||
tests | ||
.gitignore | ||
meson.build |