[mutter/wip/carlosg/x11less-preparations: 54/54] wayland: Drop -terminate argument to Xwayland



commit cedc19af7bc88fe115f139046391fbd5b12a67c9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 24 11:47:49 2019 +0200

    wayland: Drop -terminate argument to Xwayland
    
    This argument instructs Xwayland to exit when there are no further
    client connections. However we eventually want to handle restarts
    ourselves (where, notably, mutter's will be at least the last client
    connection).
    
    This behavior could also induce race conditions on startup with clients
    that quickly open and close a display, which is a more pressing issue.

 src/wayland/meta-xwayland.c | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index e426f485e..68728e283 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -506,16 +506,9 @@ meta_xwayland_init_xserver (MetaXWaylandManager *manager)
 
   g_subprocess_launcher_setenv (launcher, "WAYLAND_SOCKET", "3", TRUE);
 
-  /* Use the -terminate parameter to ensure that Xwayland exits cleanly
-   * after the last client disconnects. Fortunately that includes the window
-   * manager so it won't exit prematurely either. This ensures that Xwayland
-   * won't try to reconnect and crash, leaving uninteresting core dumps. We do
-   * want core dumps from Xwayland but only if a real bug occurs...
-   */
   manager->proc = g_subprocess_launcher_spawn (launcher, &error,
                                                XWAYLAND_PATH, manager->display_name,
                                                "-rootless",
-                                               "-terminate",
                                                "-accessx",
                                                "-core",
                                                "-listen", "4",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]