display: Rename mandatory X11 initialization function
Simply to make it clear that the renamed function is specific to a particular X11 initialization mode (mandatory Xwayland), put that in the name, so that it's easier to understand when this function is relevant. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3329>
This commit is contained in:
parent
56cfac14fb
commit
4fb2a62c1f
1 changed files with 4 additions and 4 deletions
|
@ -908,9 +908,9 @@ meta_display_init_x11 (MetaDisplay *display,
|
|||
}
|
||||
|
||||
static void
|
||||
on_x11_initialized (MetaDisplay *display,
|
||||
GAsyncResult *result,
|
||||
gpointer user_data)
|
||||
on_mandatory_x11_initialized (MetaDisplay *display,
|
||||
GAsyncResult *result,
|
||||
gpointer user_data)
|
||||
{
|
||||
g_autoptr (GError) error = NULL;
|
||||
|
||||
|
@ -1029,7 +1029,7 @@ meta_display_new (MetaContext *context,
|
|||
if (x11_display_policy == META_X11_DISPLAY_POLICY_MANDATORY)
|
||||
{
|
||||
meta_display_init_x11 (display, NULL,
|
||||
(GAsyncReadyCallback) on_x11_initialized,
|
||||
(GAsyncReadyCallback) on_mandatory_x11_initialized,
|
||||
NULL);
|
||||
}
|
||||
#endif /* HAVE_XWAYLAND */
|
||||
|
|
Loading…
Add table
Reference in a new issue