Fixed in 22w16a, likely due to LWJGL being updated to 3.3.1
This doesn't work when using two minecraft application installs with separate directories, such as the case when using the Curseforge launcher. Both the direct-from-mojang install and the Curseforge install ask each time, if the other was the one opened last (even after following those steps)
Affects 1.16.2
Affects 1.16.2-rc1
Affects 1.16.2-pre3
Affects 1.16.2-pre2
It's worth noting (I think because of this change) that any installation of Minecraft Forge since 1.14.3-27.0.0 has fixed this bug.
Could it be possible for something similar to be incorporated into vanilla?
Affects 1.16.2-pre1
Affects 20w30a
Affects 20w29a
Affects 20w28a
Affects 20w27a
Affects 1.16.1
Affects 1.16-rc1
Affects 1.16-pre8
Affects 1.16-pre6
Affects 1.16-pre5
Affects 1.16-pre4
Affects 1.16-pre3
Yes, still applies to 22w16b