Skip to content

Commit

Permalink
core: bind to wl_seat v7
Browse files Browse the repository at this point in the history
ref #187
  • Loading branch information
vaxerski committed Jul 22, 2024
1 parent 87791c0 commit f1f7fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hyprpaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<CCWlSeat>((wl_proxy*)wl_registry_bind((wl_registry*)registry->resource(), name, &wl_seat_interface, 1)));
g_pHyprpaper->createSeat(makeShared<CCWlSeat>((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<CCZwlrLayerShellV1>((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) {
Expand Down

0 comments on commit f1f7fc6

Please sign in to comment.