[Differential] [Request, 42 lines] D2997: [server] Cancel previous selection from SeatInterface::setSelection
    graesslin (Martin Gräßlin) 
    noreply at phabricator.kde.org
       
    Mon Oct 10 08:49:08 UTC 2016
    
    
  
graesslin created this revision.
graesslin added reviewers: Plasma on Wayland, bshah.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Plasma on Wayland.
REVISION SUMMARY
  When changing the selection the previous selection needs to be
  cancelled. This is already done in the "normal" updating of the
  selection. If the previous selection doesn't get cancelled QtWayland is
  not able to accept anything new from the clipboard. The setSelection
  didn't cancel it yet, due to that copy from Xwayland to QtWayland
  windows doesn't work in KWin as KWin uses the setSelection call for the
  Xwayland clipboard.
  
  With this change the cancelling of previous selection is moved into a
  dedicated method and called from the normal way and the setSelection
  way.
REPOSITORY
  rKWAYLAND KWayland
BRANCH
  server-cancel-from-set-selection
REVISION DETAIL
  https://phabricator.kde.org/D2997
AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/server/seat_interface.cpp
  src/server/seat_interface_p.h
EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #plasma_on_wayland, bshah
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/20161010/55ef1dd2/attachment.html>
    
    
More information about the Plasma-devel
mailing list