GUACAMOLE-1595: Ensure all mouse buttons are initially released when terminal starts.

This commit is contained in:
Michael Jumper 2022-05-03 00:20:08 +00:00
parent a175a3d902
commit df4e5c6fdf

View File

@ -485,6 +485,10 @@ guac_terminal* guac_terminal_create(guac_client* client,
/* Init terminal */
guac_terminal_reset(term);
/* All mouse buttons are released */
term->mouse_mask = 0;
/* All keyboard modifiers are released */
term->mod_alt =
term->mod_ctrl =
term->mod_shift = 0;