|
|
70130e |
From 3b4990d5042c9e6520fa1bd6ff2be696243b3792 Mon Sep 17 00:00:00 2001
|
|
|
70130e |
From: Giovanni Campagna <gcampagn@redhat.com>
|
|
|
70130e |
Date: Fri, 13 Sep 2013 15:52:30 +0200
|
|
|
70130e |
Subject: [PATCH 25/39] Fix fallback loading of the wayland driver
|
|
|
70130e |
|
|
|
70130e |
Fix the array name to actually compile, and fix the driver name
|
|
|
70130e |
with the new upstream.
|
|
|
70130e |
---
|
|
|
70130e |
hw/xfree86/common/xf86AutoConfig.c | 2 +-
|
|
|
70130e |
hw/xfree86/common/xf86Config.c | 2 +-
|
|
|
70130e |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
70130e |
|
|
|
70130e |
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
|
|
|
70130e |
index d5a3370..b35cb96 100644
|
|
|
70130e |
--- a/hw/xfree86/common/xf86AutoConfig.c
|
|
|
70130e |
+++ b/hw/xfree86/common/xf86AutoConfig.c
|
|
|
70130e |
@@ -285,7 +285,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
|
|
|
70130e |
if (i < (nmatches - 1)) {
|
|
|
70130e |
#ifdef XORG_WAYLAND
|
|
|
70130e |
if (xorgWayland)
|
|
|
70130e |
- matches[i++] = xnfstrdup("wlshm");
|
|
|
70130e |
+ matches[i++] = xnfstrdup("wayland");
|
|
|
70130e |
else
|
|
|
70130e |
#endif
|
|
|
70130e |
#if !defined(__linux__) && defined(__sparc__)
|
|
|
70130e |
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
|
|
|
70130e |
index c65cb80..8255d8d 100644
|
|
|
70130e |
--- a/hw/xfree86/common/xf86Config.c
|
|
|
70130e |
+++ b/hw/xfree86/common/xf86Config.c
|
|
|
70130e |
@@ -521,7 +521,7 @@ fixup_video_driver_list(char **drivers)
|
|
|
70130e |
{
|
|
|
70130e |
static const char *fallback_hw[4] = { "vesa", "fbdev", "wsfb", NULL };
|
|
|
70130e |
#ifdef XORG_WAYLAND
|
|
|
70130e |
- static const char *fallback_wayland[2] = { "wlshm", NULL };
|
|
|
70130e |
+ static const char *fallback_wl[2] = { "wayland", NULL };
|
|
|
70130e |
#endif
|
|
|
70130e |
const char **fallbacks;
|
|
|
70130e |
char **end, **drv;
|
|
|
70130e |
--
|
|
|
70130e |
1.8.3.1
|
|
|
70130e |
|