mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
reset input_blocked after reconnection
This commit is contained in:
parent
39ea73657d
commit
9c6715f95e
@ -59,7 +59,6 @@ function stateChanged() {
|
||||
|
||||
var header;
|
||||
var old_window_state = View.WINDOW_SHOWN;
|
||||
var input_blocked;
|
||||
|
||||
class Header: Reactor.Component {
|
||||
function this() {
|
||||
|
@ -1,6 +1,7 @@
|
||||
var cursor_img = $(img#cursor);
|
||||
is_file_transfer = handler.is_file_transfer();
|
||||
var is_port_forward = handler.is_port_forward();
|
||||
var input_blocked = false;
|
||||
var display_width = 0;
|
||||
var display_height = 0;
|
||||
var display_origin_x = 0;
|
||||
@ -424,6 +425,7 @@ handler.setPermission = function(name, enabled) {
|
||||
if (name == "keyboard") keyboard_enabled = enabled;
|
||||
if (name == "audio") audio_enabled = enabled;
|
||||
if (name == "clipboard") clipboard_enabled = enabled;
|
||||
input_blocked = false;
|
||||
header.update();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user