[mutter/wip/tintou/meta-window-actor-x11-fix: 2/2] window-actor-x11: switch the signal callback argument and data on shadow factory change
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/tintou/meta-window-actor-x11-fix: 2/2] window-actor-x11: switch the signal callback argument and data on shadow factory change
- Date: Mon, 15 Jun 2020 13:04:39 +0000 (UTC)
commit f7e6f19f938c654213148609acb0814328a669ad
Author: Corentin Noël <corentin elementary io>
Date: Fri Jun 12 00:19:41 2020 +0200
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
src/compositor/meta-window-actor-x11.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/compositor/meta-window-actor-x11.c b/src/compositor/meta-window-actor-x11.c
index 482e5ddacc..c8bc3784d0 100644
--- a/src/compositor/meta-window-actor-x11.c
+++ b/src/compositor/meta-window-actor-x11.c
@@ -1638,8 +1638,8 @@ meta_window_actor_x11_init (MetaWindowActorX11 *self)
self->shadow_factory = meta_shadow_factory_get_default ();
self->shadow_factory_changed_handler_id =
- g_signal_connect (self->shadow_factory,
- "changed",
- G_CALLBACK (invalidate_shadow),
- self);
+ g_signal_connect_swapped (self->shadow_factory,
+ "changed",
+ G_CALLBACK (invalidate_shadow),
+ self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]