mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
xwayland: Move "code like" declarations to the bottom
They'll be closer to the code but still after the "boring" declarations. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2619>
This commit is contained in:
parent
81cc440f47
commit
c676beea6c
@ -793,14 +793,6 @@ meta_xwayland_start_xserver (MetaXWaylandManager *manager,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data)
|
||||
{
|
||||
struct {
|
||||
const char *extension_name;
|
||||
MetaXwaylandExtension disable_extension;
|
||||
} x11_extension_names[] = {
|
||||
{ "SECURITY", META_XWAYLAND_EXTENSION_SECURITY },
|
||||
{ "XTEST", META_XWAYLAND_EXTENSION_XTEST },
|
||||
};
|
||||
|
||||
int xwayland_client_fd[2];
|
||||
int displayfd[2];
|
||||
g_autoptr(GSubprocessLauncher) launcher = NULL;
|
||||
@ -818,6 +810,13 @@ meta_xwayland_start_xserver (MetaXWaylandManager *manager,
|
||||
MetaX11DisplayPolicy x11_display_policy =
|
||||
meta_context_get_x11_display_policy (compositor->context);
|
||||
#endif
|
||||
struct {
|
||||
const char *extension_name;
|
||||
MetaXwaylandExtension disable_extension;
|
||||
} x11_extension_names[] = {
|
||||
{ "SECURITY", META_XWAYLAND_EXTENSION_SECURITY },
|
||||
{ "XTEST", META_XWAYLAND_EXTENSION_XTEST },
|
||||
};
|
||||
|
||||
task = g_task_new (NULL, cancellable, callback, user_data);
|
||||
g_task_set_source_tag (task, meta_xwayland_start_xserver);
|
||||
|
Loading…
Reference in New Issue
Block a user