// Reference https://github.com/libgdx/libgdx/issues/4785#issuecomment-886230133
config.setAutoIconify(true);
config.setFullscreenMode(Lwjgl3ApplicationConfiguration.getDisplayMode());
// Where config is an instance of Lwjgl3ApplicationConfiguration
// made when creating a Lwjgl3Application in backends.