D21993: [Klipper] Always restore the last clipbboard item

David Redondo noreply at phabricator.kde.org
Sat Jun 22 12:36:01 BST 2019


davidre created this revision.
davidre added reviewers: ngraham, davidedmundson, Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidre requested review of this revision.

REVISION SUMMARY
  D19852 <https://phabricator.kde.org/D19852> intrdouced x-kde-force-image-copy hint for programs to specify that
  images should be set to the clipboard even if should not be included in the
  history. But when the program was closed the clipboard was restored to the first
  item in history in which the image was not included. To fix this introduce a new
  class member which holds the last clipboard item and restore it.
  Credit goes to David Edumndson

TEST PLAN
  Try it with spectacle

REPOSITORY
  R120 Plasma Workspace

BRANCH
  unify

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

AFFECTED FILES
  klipper/klipper.cpp
  klipper/klipper.h

To: davidre, ngraham, davidedmundson, #plasma
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190622/941df542/attachment.html>


More information about the Plasma-devel mailing list