• samc@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 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?)

    • ElectroLisa@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      9 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.

    • octopus_ink@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Seriously. And not for the features, though those are great. Best DE because this was not surprising to read:

      And yes, you can turn these features off if you don’t like them, and also adjust the size of the barrier’s virtual space