this post was submitted on 02 Mar 2024
39 points (97.6% liked)

Linux Gaming

20511 readers
337 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

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.

all 21 comments
sorted by: hot top controversial new old
[–] Kolanaki@yiffit.net 19 points 1 year ago (2 children)

alt tabs

Clicks around

Tabs back in

"Ah shit! I shot Marvin in the face!"

[–] million@lemmy.world 6 points 1 year ago

Basically :)

At least it might distract him from the terrible pain in all the diodes down his left side.

[–] Rooki@lemmy.world 6 points 1 year ago

Yeah it happens sometimes to me with specific games

[–] imecth@fedia.io 6 points 1 year ago (1 children)

As a fix, you can run the game through gamescope which should sandbox the game.

[–] million@lemmy.world 2 points 1 year ago

Good suggestion; haven't dived into the world of Gamescope yet.

[–] Fisch@lemmy.ml 6 points 1 year ago (1 children)

Are you using Xorg or Wayland?

[–] million@lemmy.world 6 points 1 year ago* (last edited 1 year ago) (1 children)
[–] Fisch@lemmy.ml 7 points 1 year ago (2 children)

I thought that stuff like this couldn't happen on Wayland by design but maybe that's only true for keyboard inputs. Unfortunately, I have no idea how to help you but I hope that this information was at least useful to someone who knows more than me.

[–] Max_P@lemmy.max-p.me 8 points 1 year ago (1 children)

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.world 2 points 1 year ago (1 children)

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 3 points 1 year ago (1 children)

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.

[–] million@lemmy.world 2 points 1 year ago

Good to know, thanks for the clarification.

[–] dr_jekell@lemmy.world 1 points 1 year ago (1 children)

Try going into a menu first so the game isn't stealing the mouse and keyboard focus.

[–] million@lemmy.world 1 points 1 year ago (1 children)

What menu are you referring to? An in game one?

[–] dr_jekell@lemmy.world 1 points 1 year ago

Yep and in game menu.

I had the same issue when playing Minecraft until I realized that I had to go into a menu so the game would unlock the mouse &/or keyboard.