[Differential] [Request, 6 lines] D3150: [server] Fix crash on updating focused keyboard surface
    graesslin (Martin Gräßlin) 
    noreply at phabricator.kde.org
       
    Mon Oct 24 09:20:16 UTC 2016
    
    
  
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161024/06c410d9/attachment-0001.html>
    
    
More information about the Plasma-devel
mailing list