When the agent gets a new device info message (from the daemon), we need to re-calculate the guest output map and send that information back down to the daemon so that it can handle mouse input events correctly. --- src/vdagent/x11-randr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vdagent/x11-randr.c b/src/vdagent/x11-randr.c index 46eb154..2db083c 100644 --- a/src/vdagent/x11-randr.c +++ b/src/vdagent/x11-randr.c @@ -858,6 +858,9 @@ void vdagent_x11_handle_graphics_device_info(struct vdagent_x11 *x11, uint8_t *d device_display_info = (VDAgentDeviceDisplayInfo*) ((char*) device_display_info + sizeof(VDAgentDeviceDisplayInfo) + device_display_info->device_address_len); + + // make sure daemon is up-to-date with (possibly updated) device IDs + vdagent_x11_send_daemon_guest_xorg_res(x11, 1); } } -- 2.17.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel