From f1f7fc60f5ae2609a369964aeb7ddbf6f9277de7 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 23 Jul 2024 00:08:55 +0200 Subject: [PATCH] core: bind to wl_seat v7 ref #187 --- src/Hyprpaper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hyprpaper.cpp b/src/Hyprpaper.cpp index ca9d1ae..b5e5cee 100644 --- a/src/Hyprpaper.cpp +++ b/src/Hyprpaper.cpp @@ -22,7 +22,7 @@ static void handleGlobal(CCWlRegistry* registry, uint32_t name, const char* inte g_pHyprpaper->m_mtTickMutex.unlock(); } else if (strcmp(interface, wl_seat_interface.name) == 0) { - g_pHyprpaper->createSeat(makeShared((wl_proxy*)wl_registry_bind((wl_registry*)registry->resource(), name, &wl_seat_interface, 1))); + g_pHyprpaper->createSeat(makeShared((wl_proxy*)wl_registry_bind((wl_registry*)registry->resource(), name, &wl_seat_interface, 7))); } else if (strcmp(interface, zwlr_layer_shell_v1_interface.name) == 0) { g_pHyprpaper->m_pLayerShell = makeShared((wl_proxy*)wl_registry_bind((wl_registry*)registry->resource(), name, &zwlr_layer_shell_v1_interface, 1)); } else if (strcmp(interface, wp_fractional_scale_manager_v1_interface.name) == 0 && !g_pHyprpaper->m_bNoFractionalScale) {