[mutter/wip/carlosg/async-xwayland-startup: 45/45] x11: Set up the compositing manager selection on meta_display_init_x11()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/async-xwayland-startup: 45/45] x11: Set up the compositing manager selection on meta_display_init_x11()
- Date: Fri, 28 Feb 2020 18:04:55 +0000 (UTC)
commit d2585d76cae82bf2603c9307496c34fe5bcb4c3c
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Feb 28 18:59:39 2020 +0100
x11: Set up the compositing manager selection on meta_display_init_x11()
This used to be set on meta_compositor_manage(), but only if there is a
MetaX11Display. Given meta_display_init_x11() is Wayland only, and we can
always assume compositing to be enabled, just have it invariably set after
the X server is up.
src/core/display.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/core/display.c b/src/core/display.c
index 8b9b6c98a..0ab806ea1 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -708,6 +708,7 @@ meta_display_init_x11_finish (MetaDisplay *display,
if (!display->display_opening)
{
g_signal_emit (display, display_signals[X11_DISPLAY_OPENED], 0);
+ meta_x11_display_set_cm_selection (x11_display);
meta_display_manage_all_xwindows (display);
meta_compositor_redirect_x11_windows (display->compositor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]