From c57b8994f6dcee2e3312b1a7aec9e055f7a0bb01 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 25 May 2023 18:48:45 +0200 Subject: [PATCH] Reduce required version of wl_seat protocol to 5. The latest wl_seat protocol version is 9, but the last addition was made to it in version 5. Wayland is stupid. --- profiler/src/BackendWayland.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index 19f5ce5c..d82c7346 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -519,7 +519,7 @@ static void RegistryGlobal( void*, struct wl_registry* reg, uint32_t name, const } else if( strcmp( interface, wl_seat_interface.name ) == 0 ) { - s_seat = (wl_seat*)wl_registry_bind( reg, name, &wl_seat_interface, 7 ); + s_seat = (wl_seat*)wl_registry_bind( reg, name, &wl_seat_interface, 5 ); wl_seat_add_listener( s_seat, &seatListener, nullptr ); } else if( strcmp( interface, xdg_activation_v1_interface.name ) == 0 )