GUACAMOLE-1595: Merge mouse mask initialization fix.

This commit is contained in:
James Muehlner 2022-05-02 17:24:58 -07:00 committed by GitHub
commit 81300052e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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