This commit is contained in:
April Ayres-Griffiths 2019-04-17 20:01:15 +10:00
parent 3c40bcf340
commit a8a5c454f0
2 changed files with 4 additions and 4 deletions

View File

@ -2886,7 +2886,9 @@ begin
Result := 0; Result := 0;
VK_RETURN: begin VK_RETURN: begin
if not isAlt then if not isAlt then
Result := 13; Result := 13
else
Result := 0;
end; end;
VK_SHIFT: Result := 0; VK_SHIFT: Result := 0;
VK_CAPITAL: begin VK_CAPITAL: begin

View File

@ -2731,9 +2731,7 @@ begin
lastShowTime := Now(); lastShowTime := Now();
lastFocusLostTime:=Now(); lastFocusLostTime:=Now();
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/1' ); SimpleGet( baseUrl + '/api/control/mouse/buttonclick' );
Sleep(50);
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/0' );
end; end;
ReposWindow; ReposWindow;
end; end;