This commit is contained in:
parent
e11b8f1939
commit
8fb77771bb
2 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
#include <linux/input-event-codes.h>
|
#include <linux/input-event-codes.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
|
|
||||||
static void setup_clipboard(MwLL self, struct wl_seat* wl_seat);
|
static void setup_clipboard(MwLL self, struct wl_seat* wl_seat);
|
||||||
|
|
|
||||||
|
|
@ -1984,7 +1984,7 @@ static int MwLLWaylandCallInitImpl(void) {
|
||||||
|
|
||||||
#ifdef MW_OPENGL
|
#ifdef MW_OPENGL
|
||||||
if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) {
|
if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) {
|
||||||
loadWayland = 0;
|
loadWayland = 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue