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
  • !6

Closed
Created May 20, 2020 by Vlad Zahorodnii@vladzDeveloper
  • Report abuse
Report abuse

Introduce the base class for compositor extensions

  • Overview 8
  • Commits 2
  • Changes 12

When the compositor initializes a client, it may need to lookup already installed extensions on the toplevel surface, for example to find out whether the xdg_decoration has been installed on the xdg_toplevel surface.

In most cases, we can't use the manager object for this purpose because the created objects may outlive it.

This change introduces the base class for all compositor extensions and wayland objects.

The new classes provide a generic mechanism for registration and looking up installed compositor extensions.

The new compositor extension class is heavily inspired after a similar class in QtWaylandCompositor.

This MR is still WIP because my xdg-shell patches haven't landed yet.

Edited Jun 11, 2020 by Vlad Zahorodnii
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: compositor-extension