GUACAMOLE-1595: Merge mouse mask initialization fix.
This commit is contained in:
commit
81300052e0
@ -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;
|
||||||
@ -2104,4 +2108,4 @@ void guac_terminal_remove_user(guac_terminal* terminal, guac_user* user) {
|
|||||||
|
|
||||||
/* Remove the user from the terminal cursor */
|
/* Remove the user from the terminal cursor */
|
||||||
guac_common_cursor_remove_user(terminal->cursor, user);
|
guac_common_cursor_remove_user(terminal->cursor, user);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user