Florian Müllner 4a7c5890a8 shell/app: Explicitly handle (X11) fallback icon changes
Since commit 770231, StImageContent implements the GIcon interface, which
allowed us to represent all application icons as GIcon (app-info, X11 icon
property or themed fallback icon).

While that change made for a nicer ShellApp API, it did introduce a
conceptual issue in st_texture_cache_bind_cairo_surface_property():
GIcons usually represent static icons, while the ClutterContent
returned by that method updates automatically when the bound property
changes.

Address this by tracking the MetaWindow:icon property in ShellApp, and
update the fallback icon when it changes. With that, a GIcon object
always represents the same icon, and any icon change is reflected
by a corresponding GIcon change.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1761>
2021-03-14 20:36:41 +00:00
..
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2021-02-23 18:24:35 +01:00
2019-08-27 15:30:51 +03:00
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2020-05-20 15:12:03 +02:00
2020-10-19 20:18:11 +02:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00