mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
window-actor-x11: switch the signal callback argument and data on shadow factory change
invalidate_shadow takes the MetaWindowActorX11 as argument and not the MetaShadowFactory.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1314
(cherry picked from commit e09ac67698
)
This commit is contained in:
parent
b002343dca
commit
ecc2b91016
@ -1630,7 +1630,7 @@ meta_window_actor_x11_init (MetaWindowActorX11 *self)
|
|||||||
|
|
||||||
self->shadow_factory = meta_shadow_factory_get_default ();
|
self->shadow_factory = meta_shadow_factory_get_default ();
|
||||||
self->shadow_factory_changed_handler_id =
|
self->shadow_factory_changed_handler_id =
|
||||||
g_signal_connect (self->shadow_factory,
|
g_signal_connect_swapped (self->shadow_factory,
|
||||||
"changed",
|
"changed",
|
||||||
G_CALLBACK (invalidate_shadow),
|
G_CALLBACK (invalidate_shadow),
|
||||||
self);
|
self);
|
||||||
|
Loading…
Reference in New Issue
Block a user