xwayland: Make autoclose-xwayland an exp. feature
Closing automatically Xwayland once all relevant X11 clients are gone is inherently racy, if a new client comes along right at the time we're killing Xwayland. Fixing the possible race conditions between mutter, Xwayland and the X11 clients may take some time. Meanwhile, make that an experimental feature "autoclose-xwayland". Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1673>
This commit is contained in:
@ -275,6 +275,8 @@ experimental_features_handler (GVariant *features_variant,
|
||||
feature = META_EXPERIMENTAL_FEATURE_AUTOSTART_XWAYLAND;
|
||||
else if (g_str_equal (feature_str, "dma-buf-screen-sharing"))
|
||||
feature = META_EXPERIMENTAL_FEATURE_DMA_BUF_SCREEN_SHARING;
|
||||
else if (g_str_equal (feature_str, "autoclose-xwayland"))
|
||||
feature = META_EXPERIMENTAL_FEATURE_AUTOCLOSE_XWAYLAND;
|
||||
|
||||
if (feature)
|
||||
g_message ("Enabling experimental feature '%s'", feature_str);
|
||||
|
Reference in New Issue
Block a user