From d61d2946653a33d961ef029b6f73c3a20b26f9eb Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Wed, 1 May 2024 14:17:52 -0500 Subject: [PATCH] wayland: log if cursor shape support is missing This is done for the other protocol interfaces already but was accidentally omitted. --- video/out/wayland_common.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 4a86c21c7e..697b69d84f 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -2599,6 +2599,13 @@ bool vo_wayland_init(struct vo *vo) } #endif +#if HAVE_WAYLAND_PROTOCOLS_1_32 + if (!wl->cursor_shape_manager) { + MP_VERBOSE(wl, "Compositor doesn't support the %s protocol!\n", + wp_cursor_shape_manager_v1_interface.name); + } +#endif + if (wl->dnd_devman) { struct vo_wayland_seat *seat; wl_list_for_each(seat, &wl->seat_list, link) {