mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
xwayland: Enable optional XDG EI portal support
Xwayland has now a new command line option "-enable-ei-portal" [1] for the Wayland compositor (who spawn Xwayland) to explicitly enable support for XDG EI portal in Xwayland. Add that command line option when spawning Xwayland according to what was requested from the MetaXWaylandManager . [1] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1170 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3303>
This commit is contained in:
parent
e8fa92cf0e
commit
fe9017c15a
@ -909,6 +909,13 @@ meta_xwayland_start_xserver (MetaXWaylandManager *manager,
|
|||||||
{
|
{
|
||||||
g_warning ("autoclose-xwayland disabled, not supported");
|
g_warning ("autoclose-xwayland disabled, not supported");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_XWAYLAND_ENABLE_EI_PORTAL
|
||||||
|
if (manager->should_enable_ei_portal)
|
||||||
|
{
|
||||||
|
/* Enable portal support */
|
||||||
|
args[i++] = "-enable-ei-portal";
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
for (j = 0; j < G_N_ELEMENTS (x11_extension_names); j++)
|
for (j = 0; j < G_N_ELEMENTS (x11_extension_names); j++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user