Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Duplicate
-
1.4.0
-
None
-
None
Description
term->mouse_mask is a random value, when we use ssh, the first time we put the mouse on the screen, moving the mouse may be considered as a right click (paste)
in terminal.c
static int __guac_terminal_send_mouse(guac_terminal* term, guac_user* user, int x, int y, int mask) { /* Ignore user input if terminal is not started */ if (!term->started) { guac_client_log(term->client, GUAC_LOG_DEBUG, "Ignoring user input " "while terminal has not yet started."); return 0; } /* Determine which buttons were just released and pressed */ int released_mask = term->mouse_mask & ~mask; int pressed_mask = ~term->mouse_mask & mask; ....................... }
Attachments
Issue Links
- duplicates
-
GUACAMOLE-1595 mouse_mask not properly initialized within guac_terminal
- Closed