ibus-anthy should be the relevant part that decide/reset the layout to use if it's not purely an engine that adapts to whatever layout the system is using.
ibus-anthy should be the relevant part that decide/reset the layout to use if it's not purely an engine that adapts to whatever layout the system is using.