From a1018381624bc39d153b57415523a1bdf5192bef Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 14 Mar 2016 15:59:31 -0700 Subject: [PATCH] GUAC-1389: Include select layer when syncing. --- src/terminal/display.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/terminal/display.c b/src/terminal/display.c index 52561c6c..56123bc2 100644 --- a/src/terminal/display.c +++ b/src/terminal/display.c @@ -855,6 +855,11 @@ void guac_terminal_display_dup(guac_terminal_display* display, guac_user* user, guac_protocol_send_move(socket, display->select_layer, display->display_layer, 0, 0, 0); + /* Send select layer size */ + guac_protocol_send_size(socket, display->select_layer, + display->char_width * display->width, + display->char_height * display->height); + } void guac_terminal_display_commit_select(guac_terminal_display* display) {