Skip to content

GitLab

  • Menu
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 78
    • Issues 78
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 55
    • Merge requests 55
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • wayland-protocols
  • Merge requests
  • !132

Open
Created Dec 22, 2021 by Vlad Zahorodnii@zzagContributor1 of 1 task completed1/1 task
  • Report abuse
Report abuse

xdg-pip: Add new protocol

  • Overview 55
  • Commits 1
  • Pipelines 6
  • Changes 3

This protocol allows applications that display media contents create picture-in-picture windows.

xdg_toplevel surfaces are not suitable for picture-in-picture windows because they need to be excluded from listing in the taskbar or docks and be placed above all other windows. Besides that, the compositor may need to apply a different placement policy for pip windows, for example placing them in the bottom right screen corner, etc.

xdg_pip is built on top of xdg_surface because it gives us support for client-side drop shadows out of the box.

Similar to ordinary toplevels, picture-in-picture windows can be moved and resized.

Signed-off-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Closes #44

Open questions:

  • Should it be part of the xdg-shell protocol?
    No. Having the picture-in-picture surface role defined in a separate protocol is a more flexible design, for example it allows us to supersede the pip protocol with something else if needed without affecting the xdg-shell protocol.
Edited Dec 22, 2021 by Vlad Zahorodnii
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: xdg-pip