• @[email protected]
    link
    fedilink
    English
    2710 months ago

    By default, XWayland apps are now allowed to listen for non-alphanumeric keypresses, and shortcuts using modifier keys. This lets any global shortcut features they may have work with no user intervention required, while still not allowing arbitrary listening for alphanumeric keypresses which could potentially be used maliciously

    This is… very smart actually. Any reason this is limited to Xwayland? (Is that XDG portal a thing yet?)

    • @[email protected]
      link
      fedilink
      1010 months ago

      X apps can read all of your keystrokes. Wayland by default doesn’t allow this, and because of that apps running on XWayland can ex. have it’s global shortcuts broken. Plasma already had an option to change this behaviour back in 5.27. I guess they changed it from “Never” read keystrokes to “Only with modifier keys”, as a default.

    • @aksdb
      link
      910 months ago

      Shit, now malicious apps can spy my master password, which is CTRL, CTRL, ALT, META, CTRL, LEFT, RIGHT, LEFT, CTRL

    • @[email protected]
      link
      fedilink
      English
      1
      edit-2
      10 months ago

      Can wayland native apps not do that already? I assumed that they could and that’s why this was being built for xwayland