Examples: Apple: standardize activation and bringing to front.

+ fix warnings.

# Conflicts:
#	backends/imgui_impl_metal4.mm
5 files changed