mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-30 18:31:52 +00:00
session-spice: Use display id instead of monitor id in debug log
Windows guests have monitor id = 0, so the debug log is always the same: "creating spice display (#:0)" for all the displays.
This commit is contained in:
parent
c8250d0edb
commit
39b0ce009e
@ -796,7 +796,8 @@ virt_viewer_session_spice_display_monitors(SpiceChannel *channel,
|
||||
display = g_ptr_array_index(displays, i);
|
||||
if (display == NULL) {
|
||||
display = virt_viewer_display_spice_new(self, channel, i);
|
||||
g_debug("creating spice display (#:%d)", i);
|
||||
g_debug("creating spice display (#:%d)",
|
||||
virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)));
|
||||
g_ptr_array_index(displays, i) = g_object_ref_sink(display);
|
||||
virt_viewer_session_add_display(VIRT_VIEWER_SESSION(self),
|
||||
VIRT_VIEWER_DISPLAY(display));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user