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

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