mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 00:08:04 +02:00
niri for some reason known only to itself does not send any pointer leave/data device enter/data source events when it accepts a grab. The only event it seems to send is surface enter on the drag icon surface, and that too it sends that event much later. Handle this bonkers behavior by retrying the sync multiple times to detect if niri has accepted the drag or not. Fixes #10271