x11/x11-display: Fix some wrong code style to please CI checker
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970>
This commit is contained in:
parent
c9c4b06429
commit
184b8e9c8c
@ -1342,7 +1342,8 @@ meta_x11_display_new (MetaDisplay *display,
|
|||||||
x11_display->no_focus_window =
|
x11_display->no_focus_window =
|
||||||
meta_x11_display_create_offscreen_window (x11_display,
|
meta_x11_display_create_offscreen_window (x11_display,
|
||||||
xroot,
|
xroot,
|
||||||
FocusChangeMask|KeyPressMask|KeyReleaseMask);
|
FocusChangeMask |
|
||||||
|
KeyPressMask | KeyReleaseMask);
|
||||||
XMapWindow (xdisplay, x11_display->no_focus_window);
|
XMapWindow (xdisplay, x11_display->no_focus_window);
|
||||||
/* Done with no_focus_window stuff */
|
/* Done with no_focus_window stuff */
|
||||||
|
|
||||||
@ -1376,8 +1377,12 @@ meta_x11_display_new (MetaDisplay *display,
|
|||||||
g_free (list);
|
g_free (list);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (num > meta_workspace_manager_get_n_workspaces (display->workspace_manager))
|
if (num >
|
||||||
meta_workspace_manager_update_num_workspaces (display->workspace_manager, timestamp, 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",
|
g_signal_connect_object (display->workspace_manager, "active-workspace-changed",
|
||||||
|
Loading…
Reference in New Issue
Block a user