wayland: Replace meta_verbose() with 'wayland' debug logs
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
parent
96347d7ea0
commit
98bdaaf87f
@ -691,16 +691,22 @@ meta_wayland_keyboard_handle_event (MetaWaylandKeyboard *keyboard,
|
||||
!(flags & CLUTTER_EVENT_FLAG_INPUT_METHOD))
|
||||
return FALSE;
|
||||
|
||||
meta_verbose ("Handling key %s event code %d",
|
||||
is_press ? "press" : "release",
|
||||
hardware_keycode);
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"Handling key %s event code %d",
|
||||
is_press ? "press" : "release",
|
||||
hardware_keycode);
|
||||
|
||||
handled = notify_key (keyboard, (const ClutterEvent *) event);
|
||||
|
||||
if (handled)
|
||||
meta_verbose ("Sent event to wayland client");
|
||||
{
|
||||
meta_topic (META_DEBUG_WAYLAND, "Sent event to wayland client");
|
||||
}
|
||||
else
|
||||
meta_verbose ("No wayland surface is focused, continuing normal operation");
|
||||
{
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"No wayland surface is focused, continuing normal operation");
|
||||
}
|
||||
|
||||
if (keyboard->mods_changed != 0)
|
||||
{
|
||||
|
@ -379,12 +379,13 @@ bind_output (struct wl_client *client,
|
||||
logical_monitor = meta_monitor_get_logical_monitor (monitor);
|
||||
meta_monitor_mode_get_resolution (wayland_output->mode, &mode_width, &mode_height);
|
||||
|
||||
meta_verbose ("Binding monitor %p/%s (%u, %u, %u, %u) x %f",
|
||||
logical_monitor,
|
||||
meta_monitor_get_product (monitor),
|
||||
wayland_output->layout.x, wayland_output->layout.y,
|
||||
mode_width, mode_height,
|
||||
meta_monitor_mode_get_refresh_rate (wayland_output->mode));
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"Binding monitor %p/%s (%u, %u, %u, %u) x %f",
|
||||
logical_monitor,
|
||||
meta_monitor_get_product (monitor),
|
||||
wayland_output->layout.x, wayland_output->layout.y,
|
||||
mode_width, mode_height,
|
||||
meta_monitor_mode_get_refresh_rate (wayland_output->mode));
|
||||
#endif
|
||||
|
||||
send_output_events (resource, wayland_output, monitor, TRUE, NULL);
|
||||
|
@ -131,8 +131,10 @@ meta_window_xwayland_adjust_fullscreen_monitor_rect (MetaWindow *window,
|
||||
|
||||
if (n_items % 4)
|
||||
{
|
||||
meta_verbose ("_XWAYLAND_RANDR_EMU_MONITOR_RECTS on %s has %d values which is not a multiple of 4",
|
||||
window->desc, n_items);
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"_XWAYLAND_RANDR_EMU_MONITOR_RECTS on %s has %d "
|
||||
"values which is not a multiple of 4",
|
||||
window->desc, n_items);
|
||||
g_free (list);
|
||||
return;
|
||||
}
|
||||
|
@ -240,7 +240,8 @@ meta_xwayland_keyboard_grab_activate (MetaXwaylandKeyboardActiveGrab *active_gra
|
||||
|
||||
if (meta_xwayland_grab_is_granted (window))
|
||||
{
|
||||
meta_verbose ("XWayland window %s has a grab granted", window->desc);
|
||||
meta_topic (META_DEBUG_WAYLAND,
|
||||
"XWayland window %s has a grab granted", window->desc);
|
||||
meta_wayland_surface_inhibit_shortcuts (surface, seat);
|
||||
|
||||
if (meta_xwayland_grab_should_lock_focus (window))
|
||||
|
Loading…
x
Reference in New Issue
Block a user