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
  • Issues
  • #5
Closed
Open
Issue created Jul 09, 2020 by adrien faveraux@adrienfaverauxDeveloper

How i can get all Binded ressource

Hello,

How i can get all binded resource for the news approach ?

For example, in keystate - setState.

We need to send to all binded resource the signal org_kde_kwin_keystate_send_stateChanged.

for(auto r : qAsConst(dptr->m_resources)) {
        org_kde_kwin_keystate_send_stateChanged(r, int(key), int(state));

    }

On keystate, we need to have own pool of wl_ressource and override bind to store it.

On the current approach :

I have see QMultiMap<struct ::wl_client*, Resource*> m_resource_map; but no getter to have resource List

Do you have a solution or i made a mistake ?

Assignee
Assign to
Time tracking