Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • 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
  • PlasmaPlasma
  • KWayland Server
  • Merge requests
  • !366

Draft: Introduce client level scale overrides

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed David Edmundson requested to merge work/forceScale into master Apr 08, 2022
  • Overview 2
  • Commits 1
  • Pipelines 5
  • Changes 13

This allows for compositor managed different co-ordinate space between kwin's logical co-ordinate space and a client's logical co-ordinate space.

When combined with a modified kwin!1959 (closed) this allows us to set a DPI in xrdb and mark all xwayland windows as being 2x (or other) and avoid upscales for xwayland clients in a way that doesn't impact other wayland clients or require third-party changes. Any use of fractional values is in layers we control instead of over the wire.

kwayland-server is the right place for this abstraction as we need Outputs to differ on a per resource basis. Something we can't control from within kwin.

Right now only protocols used by Xwayland are covered. If we covered remaining protocols we can offer user-control on all remaining clients which could open up other possibilities such as a user controlled dynamic resizing, or adapt to possible future protocol changes with wayland scaling.

Relevant kwin code can be found in the branch "work/x11-scale-opt-out".

Edited Apr 13, 2022 by David Edmundson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/forceScale