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