Rename AT_SPI_CLIENT since we may actually need to reenter the main loop for
more than just pyatspi (ie, UiaAtkBridge, since it sends key notifications
on a thread separate from the GLib main loop thread)
Continue to support AT_SPI_CLIENT for now, for backwards compatibility.
dbus_pending_call_set_notify (pending, set_reply, (void *) &closure, NULL);
closure.loop = g_main_loop_new (NULL, FALSE);
- if (getenv ("AT_SPI_CLIENT"))
+ /* TODO: Remove old AT_SPI_CLIENT name */
+ if (getenv ("AT_SPI_CLIENT") || getenv ("AT_SPI_REENTER_G_MAIN_LOOP"))
{
g_main_loop_run (closure.loop);
}