river icon indicating copy to clipboard operation
river copied to clipboard

controller inputs go to multiple full-screen apps instead of just the front-most / focused app

Open jokeyrhyme opened this issue 1 year ago • 11 comments

Howdie, thanks again for sharing this project <3

I've been switching back and forth between sway and river recently, and I noticed something that only seems to happen in river

  1. launch Steam (flatpak)
  2. enter Big Picture mode and make it full-screen if it isn't already
  3. play a full-screen game (or make it full-screen if it isn't already)
  4. use the game controller (especially the D-pad)

expected:

  • game reacts to controller input

actual:

  • game reacts to controller input (yay)
  • but, Steam Big Picture mode behind it, which is not visible, is also reacting to controller input (I can hear the sounds that Big Picture mode makes during menu navigation)

I do have riverctl focus-follows-cursor normal set, but I don't touch the mouse or use any focus-switching keybindings at all during the steps to reproduce

This behaves as expected in sway

Also, I've noticed that if I make make Big Picture mode exit full-screen mode, then also behaves as expected

So, it's only when Big Picture mode and a game are both full-screen

I haven't tested other combinations of full-screen apps yet, because I don't have any others installed where a user flow starts in one full-screen app and launches into another full-screen app

❯ paru -Qi river
Name            : river
Version         : 0.1.3-4
...

❯ paru -Qi sway
Name            : sway
Version         : 1:1.7-10
...

❯ paru -Qi wlroots
Name            : wlroots
Version         : 0.15.1-6
...

jokeyrhyme avatar Dec 03 '22 01:12 jokeyrhyme