Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KWayland Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
  • KWayland Server
  • Merge requests
  • !339

Closed
Created Jan 07, 2022 by Julius Zint@juliuszint
  • Report abuse
Report abuse

Draft: Implement PlasmaShellSurface setOutput

  • Overview 0
  • Commits 1
  • Pipelines 4
  • Changes 2

The main motivation is to fix the bug, where KRunner is always displayed on the left monitor (427069). Being able to move a window to a different output on wayland is only the first of two steps required to resolve the problem. The second one is the ability to query the active output on wayland.

In total 3 components have to be patched in order to make it possible to set the output for a window.

  1. This MR updates KWayland and with this change, clients are able to send the request.
  2. This MR updates KWayland-Server to emit a signal, if a client sends a request.
  3. This MR updates KWin to listen for this signal and move the client. (Discussion is here)

I created a small application for testing purposes. Just use git clone https://invent.kde.org/juliuszint/helloqt and checkout the move-to-output branch. If your compiled KWayland library is not at its default location $HOME/kde/build/kwayland, then you will have to adjust the CMakeLists.txt file.

Otherwise it should just compile (TM) and when the button is clicked, the window will be moved onto every output once (delayed by 2 seconds).

Edited Jan 07, 2022 by Julius Zint
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature-setoutput