From 184b8e9c8c08843c8eaa051428819d5d7b9c0eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 19 Apr 2023 18:41:29 +0200 Subject: [PATCH] x11/x11-display: Fix some wrong code style to please CI checker Part-of: --- src/x11/meta-x11-display.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/x11/meta-x11-display.c b/src/x11/meta-x11-display.c index a1048f56e..403d92f4d 100644 --- a/src/x11/meta-x11-display.c +++ b/src/x11/meta-x11-display.c @@ -1342,7 +1342,8 @@ meta_x11_display_new (MetaDisplay *display, x11_display->no_focus_window = meta_x11_display_create_offscreen_window (x11_display, xroot, - FocusChangeMask|KeyPressMask|KeyReleaseMask); + FocusChangeMask | + KeyPressMask | KeyReleaseMask); XMapWindow (xdisplay, x11_display->no_focus_window); /* Done with no_focus_window stuff */ @@ -1376,8 +1377,12 @@ meta_x11_display_new (MetaDisplay *display, g_free (list); } - if (num > meta_workspace_manager_get_n_workspaces (display->workspace_manager)) - meta_workspace_manager_update_num_workspaces (display->workspace_manager, timestamp, num); + if (num > + meta_workspace_manager_get_n_workspaces (display->workspace_manager)) + { + meta_workspace_manager_update_num_workspaces ( + display->workspace_manager, timestamp, num); + } } g_signal_connect_object (display->workspace_manager, "active-workspace-changed",