Looks to me like the correct fix is to patch nspluginwrapper to set whatever GDK_NATIVE_WINDOWS=1 does.
Looks to me like the correct fix is to patch nspluginwrapper to set whatever GDK_NATIVE_ WINDOWS= 1 does.