From: Alexandros Frantzis alexandros.frantzis@collabora.com
Add the Wayland driver at the end of the default driver list. This ensures that, by default, under Wayland compositors that support Xwayland, the more mature X11 driver will be used. One can force using the wayland driver by ensuring X11 is not accessible, e.g., by unsetting the DISPLAY environment variable.
Signed-off-by: Alexandros Frantzis alexandros.frantzis@collabora.com --- programs/explorer/desktop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index 96673adc254..afa711a8dbf 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(explorer); #define DESKTOP_CLASS_ATOM ((LPCWSTR)MAKEINTATOM(32769)) #define DESKTOP_ALL_ACCESS 0x01ff
-static const WCHAR default_driver[] = {'m','a','c',',','x','1','1',0}; +static const WCHAR default_driver[] = {'m','a','c',',','x','1','1',',','w','a','y','l','a','n','d',0};
static BOOL using_root;