Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W wayland-protocols
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 103
    • Issues 103
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • wayland-protocols
  • Merge requests
  • !54

xdg-shell: Clarify that geometry doesn't automatically change

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Jonas Ådahl requested to merge jadahl/wayland-protocols:wip/geometry-not-autoregenerated into main Nov 12, 2020
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

The spec says that

When applied, the effective window geometry will be the set
window geometry clamped to the bounding rectangle of the combined
geometry of the surface of the xdg_surface and the associated
subsurfaces.

Thus, a client cannot assume the geometry will adapt to any subsequent changes to any conditions that constrained the geometry.

Signed-off-by: Jonas Ådahl jadahl@gmail.com


NOTE! Enforcing this is will effectively make certain misbehaving Qt applications result in error termination, more specifically obs-studio, which currently has this behavior, where it sets a window geometry, but doesn't attach a buffer, thus ending up with the effective window geometry size 0x0.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/geometry-not-autoregenerated