mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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 =
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user