graesslin created this revision.
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Plasma on Wayland.

REVISION SUMMARY
  In case the current selection does not have a DataSourceInterface
  updating the focused keyboard surface resulted in a crash. The current
  selection is sent to the DataDeviceInterface of the newly focused
  client and thus a DataOfferInterface would be created for a null
  DataSourceInterface.
  
  This is a similar fix as https://phabricator.kde.org/D3148 and 
https://phabricator.kde.org/D3149.

TEST PLAN
  Test case added which used to crash before

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  selection-ddi-keyboard-focus

REVISION DETAIL
  https://phabricator.kde.org/D3150

AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/server/seat_interface.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas

Reply via email to