Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 107
    • Merge requests 107
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • KWinKWin
  • Merge requests
  • !56

Closed
Created Jun 11, 2020 by David Edmundson@davidedmundsonDeveloper
  • Report abuse
Report abuse

[xwl] Fix clipboard clearing after external changes

  • Overview 2
  • Commits 1
  • Changes 2

1c2f23d3 swapped round things so we manage a dataSource rather than a dataDevice which may or may not have a source.

It introduced a bug on clear.

We only want to clear the wayland's clipboard if our clipboard is emptied and we own the clipboard currently being used by the seat.

Otherwise we reset the seat's clipboard when some other client sets the selection.

(Long term now we have an AbstractDataSource that doesn't have to be a resource, I hope to kill our KWayland::Client internal connection usage, it'll simplify even more)

Edited Jun 11, 2020 by David Edmundson
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/clipboard