Compare commits

..

No commits in common. "202085858b21f74441e8de05fbdf5e79c9dab443" and "30ece76ff42c8e3ef3b95e3e020e11ea66776176" have entirely different histories.

View file

@ -2010,16 +2010,11 @@ static int MwLLWaylandCallInitImpl(void) {
loadWayland |= (getenv("WAYLAND_DISPLAY") != NULL); loadWayland |= (getenv("WAYLAND_DISPLAY") != NULL);
} }
if((getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) && (!getenv("WESTON_CONFIG_FILE") || !getenv("MW_WSL_WAYLAND_FORCEFULLY_ENABLE"))) { #ifdef MW_OPENGL
printf( if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) {
"!!!!! Milsko's Wayland backend has known issues under Microsoft's WSLg !!!!!\n" // loadWayland = 0;
"!!!!! (the default method of running GUI apps) that we're not fixing !!!!!\n"
"!!!!! If you want to try the Wayland backend, please either: !!!!!\n"
"!!!!! a.) actually install Weston and run it manually !!!!!\n"
"!!!!! b.) set the env variable to MW_WSL_WAYLAND_FORCEFULLY_ENABLE !!!!!\n");
loadWayland = 0;
} }
#endif
if(loadWayland) { if(loadWayland) {
if(wayland_load_funcs()) { if(wayland_load_funcs()) {