GUAC-763: Do not send mouse during username search either.
This commit is contained in:
parent
b2c6bc488b
commit
1e5fbba64e
@ -47,8 +47,8 @@ int guac_telnet_client_mouse_handler(guac_client* client, int x, int y, int mask
|
||||
guac_telnet_client_data* client_data = (guac_telnet_client_data*) client->data;
|
||||
guac_terminal* term = client_data->term;
|
||||
|
||||
/* Send mouse if not searching for password */
|
||||
if (client_data->password_regex == NULL)
|
||||
/* Send mouse if not searching for password or username */
|
||||
if (client_data->password_regex == NULL && client_data->username_regex == NULL)
|
||||
guac_terminal_send_mouse(term, x, y, mask);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user