mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Remove unblock/block.
This commit is contained in:
parent
93f16ada8b
commit
61227959ea
@ -348,21 +348,11 @@ namespace Remotely.ScreenCast.Win.Services
|
||||
{
|
||||
if (!Win32Interop.SwitchToInputDesktop())
|
||||
{
|
||||
if (IsInputBlocked)
|
||||
{
|
||||
BlockInput(false);
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
Win32Interop.SwitchToInputDesktop();
|
||||
inputAction();
|
||||
}).Wait();
|
||||
|
||||
if (IsInputBlocked)
|
||||
{
|
||||
BlockInput(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user