GUACAMOLE-1302: Always use lossless compression for text-based protocols leveraging the terminal.
This commit is contained in:
parent
0729a6cc73
commit
27f8403178
@ -221,6 +221,9 @@ guac_terminal_display* guac_terminal_display_alloc(guac_client* client,
|
|||||||
display->display_surface = guac_common_surface_alloc(client,
|
display->display_surface = guac_common_surface_alloc(client,
|
||||||
client->socket, display->display_layer, 0, 0);
|
client->socket, display->display_layer, 0, 0);
|
||||||
|
|
||||||
|
/* Never use lossy compression for terminal contents */
|
||||||
|
guac_common_surface_set_lossless(display->display_surface, 1);
|
||||||
|
|
||||||
/* Select layer is a child of the display layer */
|
/* Select layer is a child of the display layer */
|
||||||
guac_protocol_send_move(client->socket, display->select_layer,
|
guac_protocol_send_move(client->socket, display->select_layer,
|
||||||
display->display_layer, 0, 0, 0);
|
display->display_layer, 0, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user