Skip to content

disable ttyxi input processing (but not clipboard access!) under wayland #2041

@unxed

Description

@unxed

Wayland security model does not allow any app to "listen" keystrokes that belong to other windows. So our x11 API-based input helpers are useless with XWayland. More of this, under Wayland ttyxi introduces severe input delay. Steps to reproduce it:

  1. install fresh ubuntu 23.10 from
https://releases.ubuntu.com/23.10.1/ubuntu-23.10.1-desktop-amd64.iso
  1. install far2l:
sudo apt install far2l
  1. run GNOME Terminal
  2. run far2l inside
  3. press Arrow Up or Arrow Down keys several times being inside a non-empty folder
  4. run far2l --nodetect=xi
  5. try keys test once again

Still, ttyx module is helpful for clipboard access. So we should disable ttyx[i] input processing under Wayland automatically, but still use x11 clipboard API.

See also:
#2040

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions