This was changed to match the behaviour of other compositors. However what kwin did before is more sensible. Sending a leave event breaks cursor updates by design. See https://gitlab.freedesktop.org/wayland/wayland/-/issues/444