Skip to content
GitLab
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 2
    • Merge requests 2
  • 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
  • PlasmaPlasma
  • KWayland Server
  • Issues
  • #13
Closed
Open
Issue created Oct 26, 2020 by Bhushan Shah@bshah📱Developer

Implementation for the various grabs (input methods and xdg_popup e.g)

There's multiple kind of grabs possible,

  • Input method grabs (mostly keyboard)
  • XDG Popup grabs

Some Requirements

  • IM grabs behave more or less as the first level of filter, where if the input method consumes the event, fine, otherwise the event is forwarded to active client/seat. Input method grabs operate on the wl_keyboard or KeyboardInterface, while XDG popup grab may operate on the surface/subsurface

  • IM grabs should not change value of the focused*Surface state, while the XDG popup grab may change that state.

  • xwayland-keyboard-grab-unstable-v1, which operates on the "surface level"

https://source.puri.sm/Librem5/squeekboard/-/blob/master/protocols/input-method-unstable-v2.xml#L315

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/stable/xdg-shell/xdg-shell.xml#L1116

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml

Edited Oct 30, 2020 by David Edmundson
Assignee
Assign to
Time tracking