Blame SOURCES/0001-xwayland-Disable-Present-support.patch

f34ecf
From 6d0aaa3279d4671c4c17fdf9c049fc03b8ba273d Mon Sep 17 00:00:00 2001
f34ecf
From: Olivier Fourdan <ofourdan@redhat.com>
f34ecf
Date: Thu, 11 Oct 2018 15:48:17 +0200
f34ecf
Subject: [PATCH xserver] xwayland: Disable Present support
f34ecf
f34ecf
The addition of Present support in xserver-1.20.x introduced some
f34ecf
instability and hard to reproduce bugs which can cause Xwayland to crash
f34ecf
and take the entire user session with it.
f34ecf
f34ecf
Disable Present in support until it's stabilized.
f34ecf
f34ecf
This patch is a temporary workaround, it is not meant to be submitted
f34ecf
upstream.
f34ecf
f34ecf
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
f34ecf
---
f34ecf
 hw/xwayland/xwayland.c | 3 ++-
f34ecf
 1 file changed, 2 insertions(+), 1 deletion(-)
f34ecf
f34ecf
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
f34ecf
index 605c9f56b..cb29ce81c 100644
f34ecf
--- a/hw/xwayland/xwayland.c
f34ecf
+++ b/hw/xwayland/xwayland.c
f34ecf
@@ -1071,9 +1071,10 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
f34ecf
            xwl_screen->glamor = 0;
f34ecf
         }
f34ecf
     }
f34ecf
-
f34ecf
+#if 0 /* Disable Present support in Xwayland for now */
f34ecf
     if (xwl_screen->glamor && xwl_screen->rootless)
f34ecf
         xwl_screen->present = xwl_present_init(pScreen);
f34ecf
+#endif
f34ecf
 #endif
f34ecf
 
f34ecf
     if (!xwl_screen->glamor) {
f34ecf
-- 
f34ecf
2.19.1
f34ecf