Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Virtual Input devices are always attached to seat0

Open remenic opened this issue 2 years ago • 1 comments

Describe the Bug

When starting sunshine on a second X11 seat, it creates virtual input devices for seat0. Moving the mouse in moonlight will move the mouse on the first seat, not on the seat that is displayed in moonlight.

Expected Behavior

The new virtual input devices are attached to the current $XDG_SEAT

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch Linux

Architecture

64 bit

Sunshine Version

0.14.1-1

GPU Type

NVidia (for the second seat)

GPU Model

GeForce RTX 2070 Super

GPU Driver/Mesa Version

515.65.01

Capture Method (Linux Only)

X11

Relevant log output

No response

remenic avatar Sep 16 '22 11:09 remenic

This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.

LizardByte-bot avatar Dec 16 '22 00:12 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Dec 27 '22 00:12 LizardByte-bot

The same for VNC servers. Xinput gives the following list: xinput --list Virtual core pointer id=2 [master pointer (3)] Virtual core XTEST pointer id=4 [slave pointer (2)] TurboVNC pointer id=6 [slave pointer (2)] Virtual core keyboard id=3 [master keyboard (2)] Virtual core XTEST keyboard id=5 [slave keyboard (3)] TurboVNC keyboard id=7 [slave keyboard (3)]

einhander avatar Jan 09 '23 18:01 einhander