Me again!

Using Discord while playing Hunt Showdown and if I alt+tab away from the game into Discord to volume adjust, unmute myself or someone else, the left clicks are going to the game and causing some not so great misfires. Anyway to prevent the left click from propagating into the game window?

Using KDE + Wayland and Discord Flatpak if that effects it at all.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 months ago

    I would guess both the game and discord are xwayland and since it all happens on that side that happens.

    Seems like a similar thing to the xeyes trick to check if an app is really running on native Wayland: if the eyes don’t move, mouse events aren’t going to an xwayland client.

    • million@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      The game is under Steam proton, so I would expect that to use Wayland; unless all that stuff is XWayland?

      • Max-P@lemmy.max-p.me
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 months ago

        It’s all xwayland. Wayland support in Wine/Proton is barely usable yet. Even Valve’s gamescope, although a Wayland compositor/client, still only exposes xwayland by default.