https://bugs.kde.org/show_bug.cgi?id=465444

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/023fc220a126
                   |                            |7876ebb210619672271f8c2130d
                   |                            |7
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 023fc220a1267876ebb210619672271f8c2130d7 by David Edmundson.
Committed on 07/04/2023 at 22:14.
Pushed by davidedmundson into branch 'master'.

wayland: Update pointer state before ending the drag

ending a drag will update focus. Kwin explicitly resets it to whatever
is now under the mouse now that the implicit grab has ended.

This means no-one sends a pointer up.

Clients (xwayland) don't automatically make leave events count as a
mouse up, because typically you don't get a leave event whilst we have a
grab.

Xwayland also can't track the status of the wl_datasource as it didn't
use it.

This patch shouldn't affect any wayland clients as we don't send a frame event
until the focus changes which is after the dnd_finished events.

Testing done:
 - dragged firefox under xwayland tabs out from firefox to the desktop
 - confirmed a new window appeared

M  +4    -2    src/wayland/autotests/client/test_drag_drop.cpp
M  +1    -0    src/wayland/seat_interface.cpp

https://invent.kde.org/plasma/kwin/commit/023fc220a1267876ebb210619672271f8c2130d7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to