[mutter] xwayland: Move "code like" declarations to the bottom
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] xwayland: Move "code like" declarations to the bottom
- Date: Mon, 19 Sep 2022 15:12:29 +0000 (UTC)
commit c676beea6c83086337b88e3039d134748718204b
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Sat May 28 23:58:07 2022 +0200
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>
src/wayland/meta-xwayland.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 968467558f..b108b3dc67 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]