[
https://issues.apache.org/jira/browse/GUACAMOLE-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
luo updated GUACAMOLE-1626:
---------------------------
Component/s: guacd
Affects Version/s: 1.3.0
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)
{code:java}
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;
.......................
} {code}
Issue Type: Improvement (was: Bug)
Priority: Trivial (was: Major)
Summary: term->mouse_mask is not initialized (was: 121)
> term->mouse_mask is not initialized
> -----------------------------------
>
> Key: GUACAMOLE-1626
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1626
> Project: Guacamole
> Issue Type: Improvement
> Components: guacd
> Affects Versions: 1.3.0
> Reporter: luo
> Priority: Trivial
>
> 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)
> {code:java}
> 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;
> .......................
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)