mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-03-07 00:58:17 +03:00
Skip non-primary monitors in SPICE
This commit is contained in:
parent
4ba39d0224
commit
98499277db
@ -243,6 +243,9 @@ virt_viewer_display_spice_channel_new(SpiceSession *s,
|
||||
}
|
||||
|
||||
if (SPICE_IS_DISPLAY_CHANNEL(channel)) {
|
||||
if (id != 0)
|
||||
return;
|
||||
|
||||
DEBUG_LOG("new display channel (#%d)", id);
|
||||
g_signal_connect(channel, "display-primary-create",
|
||||
G_CALLBACK(virt_viewer_display_spice_primary_create), display);
|
||||
|
Loading…
x
Reference in New Issue
Block a user