context/main: Disable X11 specific arguments
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3776>
This commit is contained in:
parent
08a3c57aad
commit
831b563a3c
1 changed files with 2 additions and 0 deletions
|
@ -639,6 +639,7 @@ meta_context_main_add_option_entries (MetaContextMain *context_main)
|
||||||
N_("Run as a wayland compositor"),
|
N_("Run as a wayland compositor"),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
#ifdef HAVE_X11
|
||||||
{
|
{
|
||||||
"nested", 0, 0, G_OPTION_ARG_NONE,
|
"nested", 0, 0, G_OPTION_ARG_NONE,
|
||||||
&context_main->options.nested,
|
&context_main->options.nested,
|
||||||
|
@ -651,6 +652,7 @@ meta_context_main_add_option_entries (MetaContextMain *context_main)
|
||||||
N_("Run wayland compositor without starting Xwayland"),
|
N_("Run wayland compositor without starting Xwayland"),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
"wayland-display", 0, 0, G_OPTION_ARG_STRING,
|
"wayland-display", 0, 0, G_OPTION_ARG_STRING,
|
||||||
&context_main->options.wayland_display,
|
&context_main->options.wayland_display,
|
||||||
|
|
Loading…
Reference in a new issue