Enable cursor shape on Wayland

Cant replicate the hyprland crash, so am not going to bother about it.

Fixes #6914
This commit is contained in:
Kovid Goyal
2023-12-24 22:56:01 +05:30
parent cff490f881
commit 4519b3abee
2 changed files with 5 additions and 1 deletions

View File

@@ -69,6 +69,10 @@ Detailed list of changes
- kitty keyboard protocol: Specify the behavior of the modifier bits during modifier key events (:iss:`6913`)
- Wayland: Enable support for the new cursor-shape protocol so that the mouse
cursor is always rendered at the correct size in compositors that support
this protocol (:iss:`6914`)
0.31.0 [2023-11-08]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2
glfw/wl_init.c vendored
View File

@@ -723,7 +723,7 @@ static void registryHandleGlobal(void* data UNUSED,
else if (is(xdg_activation_v1)) {
_glfw.wl.xdg_activation_v1 = wl_registry_bind(registry, name, &xdg_activation_v1_interface, 1);
}
else if (false && is(wp_cursor_shape_manager_v1)) {
else if (is(wp_cursor_shape_manager_v1)) {
_glfw.wl.wp_cursor_shape_manager_v1 = wl_registry_bind(registry, name, &wp_cursor_shape_manager_v1_interface, 1);
}
#undef is