#include "compositor/region-utils.h"
#include "compositor/meta-shaped-texture-private.h"
+#include "compositor/meta-window-actor-private.h"
#include "meta-surface-actor.h"
#include "meta-surface-actor-wayland.h"
static void
window_position_changed (MetaWindow *window,
MetaWaylandSurface *surface);
+static void
+window_actor_effects_completed (MetaWindowActor *window_actor,
+ MetaWaylandSurface *surface);
static void
role_assignment_valist_to_properties (GType role_type,
g_signal_handlers_disconnect_by_func (surface->window,
window_position_changed,
surface);
+ g_signal_handlers_disconnect_by_func (meta_window_actor_from_window (surface->window),
+ window_actor_effects_completed,
+ surface);
}
surface->window = window;
"position-changed",
G_CALLBACK (window_position_changed),
surface, 0);
+ g_signal_connect_object (meta_window_actor_from_window (window),
+ "effects-completed",
+ G_CALLBACK (window_actor_effects_completed),
+ surface, 0);
}
}
meta_wayland_surface_update_outputs_recursively (surface);
}
+static void
+window_actor_effects_completed (MetaWindowActor *window_actor,
+ MetaWaylandSurface *surface)
+{
+ meta_wayland_surface_update_outputs_recursively (surface);
+}
+
void
meta_wayland_surface_create_surface_actor (MetaWaylandSurface *surface)
{