Was there ever a solution to the lwjgl window focus issue?

LWJGL is known to cause issues with obtaining or keeping window focus in certain versions. Was there ever a solution to this?

Currently I’m having to build with a much older version of LWJGL in order to not have focus-related bugs runtime.