instead of wl_signal_emit_mutable to avoid the race condition on mutli-threading
Change-Id: I65e1fe7e54f97554bf13a77bbc198ebf0f320de2
{
atomic_store(&history_policy->focused_ec, ec);
- wl_signal_emit_mutable(&history_policy->events.focused_ec_changed, ec);
+ wl_signal_emit(&history_policy->events.focused_ec_changed, ec);
}
static void
{
atomic_store(&topmost_policy->focused_ec, ec);
- wl_signal_emit_mutable(&topmost_policy->events.focused_ec_changed, ec);
+ wl_signal_emit(&topmost_policy->events.focused_ec_changed, ec);
}
static void