Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.2k
    • Issues 1.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 123
    • Merge requests 123
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • muttermutter
  • Merge requests
  • !1905

wayland/surface: Add support for wl_surface.offset

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jonas Ådahl requested to merge jadahl/mutter:wip/wayland-surface-offset into main Jun 29, 2021
  • Overview 9
  • Commits 1
  • Pipelines 16
  • Changes 4

This aims to replace the x,y arguments in wl_surface.attach(); meaning it can be used more sanely together with EGL, and at all when using Vulkan.

The most common use case for the offset is setting the hotspot of DND surfaces.

Marked as draft as it depends on a future libwayland release that includes https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/123

Edited Jan 12, 2022 by Jonas Ådahl
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/wayland-surface-offset