Merge pull request #489 from mike-jumper/fix-multitouch

GUACAMOLE-1918: Merge fix for multitouch sync in surface duplication.
This commit is contained in:
James Muehlner 2024-02-02 09:18:30 -08:00 committed by GitHub
commit fbbb25bfb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2009,13 +2009,14 @@ void guac_common_surface_dup(guac_common_surface* surface,
guac_protocol_send_move(socket, surface->layer,
surface->parent, surface->x, surface->y, surface->z);
/* Synchronize multi-touch support level */
guac_protocol_send_set_int(surface->socket, surface->layer,
GUAC_PROTOCOL_LAYER_PARAMETER_MULTI_TOUCH,
surface->touches);
}
/* Synchronize multi-touch support level */
else if (surface->layer->index == 0)
guac_protocol_send_set_int(socket, surface->layer,
GUAC_PROTOCOL_LAYER_PARAMETER_MULTI_TOUCH,
surface->touches);
/* Sync size to new socket */
guac_protocol_send_size(socket, surface->layer,
surface->width, surface->height);