mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
xwayland: Don't spew warnings when looking for X11 displays
It's not important, so only show it when doing MUTTER_DEBUG=wayland. Instead report what display numbers were eventually found. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1625>
This commit is contained in:
parent
4ef34ed68f
commit
d940911478
@ -239,7 +239,8 @@ create_lock_file (int display,
|
||||
|
||||
while (!try_display (display, &filename, &fd, &local_error))
|
||||
{
|
||||
g_warning ("Failed to lock X11 display: %s", local_error->message);
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"Failed to lock X11 display: %s", local_error->message);
|
||||
g_clear_error (&local_error);
|
||||
display++;
|
||||
number_of_tries++;
|
||||
@ -832,6 +833,10 @@ meta_xwayland_init (MetaXWaylandManager *manager,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
g_message ("Using public X11 display %s, (using %s for managed services)",
|
||||
manager->public_connection.name,
|
||||
manager->private_connection.name);
|
||||
|
||||
manager->wayland_display = wl_display;
|
||||
policy = meta_get_x11_display_policy ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user