[PATCH 0/2] MR11168: winewayland: Minor debugging improvements.
The first commit makes it easy to identify winewayland originated wayland calls when using `WAYLAND_DEBUG=1` The second commit changes the debug channel to +cursor to avoid polluting logs with +waylanddrv with irrelevant stuff related to the mouse cursor when trying to debug window-related things. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11168
From: Etaash Mathamsetty <etaash.mathamsetty@gmail.com> --- dlls/winewayland.drv/wayland.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/winewayland.drv/wayland.c b/dlls/winewayland.drv/wayland.c index b3d6b3c89e7..feaf0b5b4e7 100644 --- a/dlls/winewayland.drv/wayland.c +++ b/dlls/winewayland.drv/wayland.c @@ -260,7 +260,12 @@ BOOL wayland_process_init(void) TRACE("wl_display=%p\n", process_wayland.wl_display); +#if (WAYLAND_VERSION_MAJOR == 1 && WAYLAND_VERSION_MINOR >= 23) + if (!(process_wayland.wl_event_queue = + wl_display_create_queue_with_name(process_wayland.wl_display, "winewayland"))) +#else if (!(process_wayland.wl_event_queue = wl_display_create_queue(process_wayland.wl_display))) +#endif { ERR("Failed to create event queue\n"); return FALSE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11168
From: Etaash Mathamsetty <etaash.mathamsetty@gmail.com> --- dlls/winewayland.drv/wayland_pointer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winewayland.drv/wayland_pointer.c b/dlls/winewayland.drv/wayland_pointer.c index 109dd2dd0eb..bec5cd69d10 100644 --- a/dlls/winewayland.drv/wayland_pointer.c +++ b/dlls/winewayland.drv/wayland_pointer.c @@ -34,7 +34,7 @@ #include "waylanddrv.h" #include "wine/debug.h" -WINE_DEFAULT_DEBUG_CHANNEL(waylanddrv); +WINE_DEFAULT_DEBUG_CHANNEL(cursor); /* The cursor-shape-v1 protocol file references the zwp_tablet_tool_v2 * interface object. Since we don't currently use the tablet protocol, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11168
participants (2)
-
Etaash Mathamsetty -
Etaash Mathamsetty (@etaash.mathamsetty)