Skip to content
Commit a7064907 authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

wayland: Send wl_pointer leave before data_device enter

SeatInterface currently has a separation of kwin's focus scope to
pointer input with early return guards in notifyPointerEnter and
notifyPointerLeave where clients don't get pointer events.

However we don't update the initial state when a drag is started, this
patch notifies sends a pointer leave to the new drag target before the
data_device enter so things are consistent.

This also brings it in line with Weston and Mutter.

notifyPointerLeave has it's early return removed as for wayland windows
as we know nothing will have pointer focus.


(cherry picked from commit 53863609)
parent 58f38ff5
Pipeline #608180 passed with stage
in 8 minutes and 53 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment