GUACAMOLE-1595: Ensure all mouse buttons are initially released when terminal starts.
This commit is contained in:
parent
a175a3d902
commit
df4e5c6fdf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user