moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Release mouse on focus loss

Open ahmubashshir opened this issue 11 months ago • 2 comments

Is your feature request related to a problem? Please describe. I use my laptop as my desktops display sometimes... in that scenario, I use barrier to use my desktops keyboard and mouse with laptop and moonlight to stream display to laptop... when I bring another window over moonlight, moonlight keeps sending mouse events to desktop, which is sent to laptop again by barrier messing up mouse movement...

Describe the solution you'd like Moonlight releases mouse when it is unfocused.

Describe alternatives you've considered Ctrl+Shift+Alt+Z to release mouse before switching window...

Additional context

https://github.com/moonlight-stream/moonlight-qt/assets/24864366/71f27ccb-3d73-40d6-b438-26a0825edd39

ahmubashshir avatar Mar 14 '24 12:03 ahmubashshir

Hello,

can you describe a little bit more? Server is? Client is? How to configure? Thanks.

Andreas

zackfuchtel avatar Apr 17 '24 08:04 zackfuchtel

Server: Sunshine 0.22.0 (windows 10) Client: Moonlight 5.0.1 (Arch Linux) Barrier: 2.4.0 (Server: Desktop/Windows10, client: Laptop/ArchLinux)

Steps to reproduce:

  1. Start sunshine and barrier server on desktop
  2. Start barrier client on laptop
  3. switch barrier's input to laptop
  4. start moonlight
  5. bring another window over moonlight
  6. moonlight sends mouse movement to desktop which is again sent to laptop by barrier.

ahmubashshir avatar Apr 18 '24 16:04 ahmubashshir