GUACAMOLE-377: Avoid flushing empty frames purely for updated mouse positions.

This commit is contained in:
Michael Jumper 2025-01-13 13:03:56 -08:00
parent 6e8d28925d
commit bb0c5b634d
No known key found for this signature in database
GPG Key ID: 5B2977AEE5E4518F

View File

@ -278,7 +278,9 @@ static int PFW_LFW_guac_display_frame_complete(guac_display* display) {
display->last_frame.cursor_mask = display->pending_frame.cursor_mask;
guac_client_foreach_user(client, LFR_guac_display_broadcast_cursor_state, display);
retval = 1;
/* NOTE: We DO NOT set retval here, as flushing a frame due purely to
* mouse position changes can cause slowdowns apparently from the sheer
* quantity of frames */
}