Files
kitty/glfw
ranicharradi 16da6532f0 Wayland: fix abort when dragging a tab out
drag_icon_surface_listener is registered with only .enter and .leave.
wl_compositor is bound at version 6 whenever the compositor offers it,
so the drag icon surface receives wl_surface.preferred_buffer_scale
(opcode 2) and libwayland aborts on the NULL listener slot:

    listener function for opcode 2 of wl_surface is NULL

Add no-op handlers for both version 6 events, matching surfaceListener.
The drag icon's scale is already fixed at drag start from the source
window, via viewport destination or wl_surface_set_buffer_scale, so
ignoring the compositor's later preference preserves existing behavior.

Fixes #10284
2026-07-26 00:48:26 +01:00
..