GUACAMOLE-502: Merge cessastion of name instruction in RDP/VNC to avoid incorreclty updating window title.
diff --git a/src/protocols/rdp/rdp.c b/src/protocols/rdp/rdp.c
index 6bba457..45082bb 100644
--- a/src/protocols/rdp/rdp.c
+++ b/src/protocols/rdp/rdp.c
@@ -715,9 +715,6 @@
rdp_client->keyboard = guac_rdp_keyboard_alloc(client,
settings->server_layout);
- /* Send connection name */
- guac_protocol_send_name(client->socket, settings->hostname);
-
/* Set default pointer */
guac_common_cursor_set_pointer(rdp_client->display->cursor);
diff --git a/src/protocols/vnc/vnc.c b/src/protocols/vnc/vnc.c
index 8304b09..db1e218 100644
--- a/src/protocols/vnc/vnc.c
+++ b/src/protocols/vnc/vnc.c
@@ -312,9 +312,6 @@
settings->recording_include_keys);
}
- /* Send name */
- guac_protocol_send_name(client->socket, rfb_client->desktopName);
-
/* Create display */
vnc_client->display = guac_common_display_alloc(client,
rfb_client->width, rfb_client->height);