Remove cursor layer.

This commit is contained in:
Michael Jumper 2013-03-25 03:01:51 -07:00
parent 7ea73559be
commit 17a4d141de
3 changed files with 0 additions and 17 deletions

View File

@ -301,11 +301,6 @@ struct guac_terminal {
*/ */
int cursor_col; int cursor_col;
/**
* Simple cursor layer until scrollback, etc. is implemented.
*/
guac_layer* cursor_layer;
/** /**
* The attributes which will be applied to future characters. * The attributes which will be applied to future characters.
*/ */

View File

@ -122,17 +122,6 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
term->char_width * term->term_width, term->char_width * term->term_width,
term->char_height * term->term_height); term->char_height * term->term_height);
/* Cursor layer need only be one char */
guac_protocol_send_size(socket, term->cursor_layer, term->char_width, term->char_height);
/* Draw cursor */
guac_protocol_send_rect(socket, term->cursor_layer,
0, 0, term->char_width, term->char_height);
guac_protocol_send_cfill(socket,
GUAC_COMP_OVER, term->cursor_layer,
0x40, 0xFF, 0x80, 0x80);
guac_socket_flush(socket); guac_socket_flush(socket);
/* Open SSH session */ /* Open SSH session */

View File

@ -134,7 +134,6 @@ guac_terminal* guac_terminal_create(guac_client* client,
term->cursor_row = 0; term->cursor_row = 0;
term->cursor_col = 0; term->cursor_col = 0;
term->cursor_layer = guac_client_alloc_layer(client);
term->term_width = width / term->char_width; term->term_width = width / term->char_width;
term->term_height = height / term->char_height; term->term_height = height / term->char_height;