Compare commits
No commits in common. "202085858b21f74441e8de05fbdf5e79c9dab443" and "30ece76ff42c8e3ef3b95e3e020e11ea66776176" have entirely different histories.
202085858b
...
30ece76ff4
1 changed files with 4 additions and 9 deletions
|
|
@ -2010,16 +2010,11 @@ static int MwLLWaylandCallInitImpl(void) {
|
|||
loadWayland |= (getenv("WAYLAND_DISPLAY") != NULL);
|
||||
}
|
||||
|
||||
if((getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) && (!getenv("WESTON_CONFIG_FILE") || !getenv("MW_WSL_WAYLAND_FORCEFULLY_ENABLE"))) {
|
||||
printf(
|
||||
"!!!!! Milsko's Wayland backend has known issues under Microsoft's WSLg !!!!!\n"
|
||||
"!!!!! (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;
|
||||
#ifdef MW_OPENGL
|
||||
if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) {
|
||||
// loadWayland = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(loadWayland) {
|
||||
if(wayland_load_funcs()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue